Struct r3::kernel::raw_cfg::SemaphoreDescriptor
source · pub struct SemaphoreDescriptor<System> {
pub phantom: PhantomData<fn(_: System) -> System>,
pub initial: usize,
pub maximum: usize,
pub queue_order: QueueOrder,
}
Expand description
The basic properties of a semaphore.
Fields
phantom: PhantomData<fn(_: System) -> System>
initial: usize
maximum: usize
queue_order: QueueOrder
Trait Implementations
Auto Trait Implementations
impl<System> RefUnwindSafe for SemaphoreDescriptor<System>
impl<System> Send for SemaphoreDescriptor<System>
impl<System> Sync for SemaphoreDescriptor<System>
impl<System> Unpin for SemaphoreDescriptor<System>
impl<System> UnwindSafe for SemaphoreDescriptor<System>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more