pub struct Semaphore(/* private fields */);
Expand description
Implementations§
Trait Implementations§
source§impl Ord for Semaphore
impl Ord for Semaphore
source§impl PartialEq for Semaphore
impl PartialEq for Semaphore
source§impl PartialOrd for Semaphore
impl PartialOrd for Semaphore
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Semaphore
impl Eq for Semaphore
impl StructuralEq for Semaphore
impl StructuralPartialEq for Semaphore
Auto Trait Implementations§
impl RefUnwindSafe for Semaphore
impl Send for Semaphore
impl Sync for Semaphore
impl Unpin for Semaphore
impl UnwindSafe for Semaphore
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