pub struct SemaphoreRef(Rc<RefCell<Semaphore>>);Tuple Fields§
§0: Rc<RefCell<Semaphore>>Implementations§
Trait Implementations§
Source§impl Clone for SemaphoreRef
impl Clone for SemaphoreRef
Source§impl Debug for SemaphoreRef
impl Debug for SemaphoreRef
Source§impl Default for SemaphoreRef
impl Default for SemaphoreRef
Source§impl VisitProvenance for SemaphoreRef
impl VisitProvenance for SemaphoreRef
fn visit_provenance(&self, _visit: &mut VisitWith<'_>)
Auto Trait Implementations§
impl !DynSend for SemaphoreRef
impl !DynSync for SemaphoreRef
impl !RefUnwindSafe for SemaphoreRef
impl !Send for SemaphoreRef
impl !Sync for SemaphoreRef
impl !UnwindSafe for SemaphoreRef
impl Freeze for SemaphoreRef
impl Unpin for SemaphoreRef
impl UnsafeUnpin for SemaphoreRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes