#[repr(transparent)]pub struct Semaphore(u64);
Expand description
Tuple Fields§
§0: u64
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 StructuralPartialEq for Semaphore
Auto Trait Implementations§
impl Freeze for Semaphore
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