#[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 PartialOrd for Semaphore
impl PartialOrd for Semaphore
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)