pub struct NotifyEntity {
pub waiter_count: u32,
}Fields§
§waiter_count: u32Number of tasks currently waiting on this notify.
Trait Implementations§
Source§impl EntityBodySlot for NotifyEntity
impl EntityBodySlot for NotifyEntity
const KIND_NAME: &'static str = "Notify"
type Value = NotifyEntity
fn project(body: &EntityBody) -> Option<&Self::Value>
fn project_mut(body: &mut EntityBody) -> Option<&mut Self::Value>
Source§impl<'ʄ> Facet<'ʄ> for NotifyEntity
impl<'ʄ> Facet<'ʄ> for NotifyEntity
Source§impl From<NotifyEntity> for EntityBody
impl From<NotifyEntity> for EntityBody
Source§fn from(value: NotifyEntity) -> Self
fn from(value: NotifyEntity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NotifyEntity
impl RefUnwindSafe for NotifyEntity
impl Send for NotifyEntity
impl Sync for NotifyEntity
impl Unpin for NotifyEntity
impl UnsafeUnpin for NotifyEntity
impl UnwindSafe for NotifyEntity
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