pub struct LockEntity {
pub kind: LockKind,
}Fields§
§kind: LockKindKind of lock primitive.
Trait Implementations§
Source§impl EntityBodySlot for LockEntity
impl EntityBodySlot for LockEntity
const KIND_NAME: &'static str = "Lock"
type Value = LockEntity
fn project(body: &EntityBody) -> Option<&Self::Value>
fn project_mut(body: &mut EntityBody) -> Option<&mut Self::Value>
Source§impl<'ʄ> Facet<'ʄ> for LockEntity
impl<'ʄ> Facet<'ʄ> for LockEntity
Source§impl From<LockEntity> for EntityBody
impl From<LockEntity> for EntityBody
Source§fn from(value: LockEntity) -> Self
fn from(value: LockEntity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LockEntity
impl RefUnwindSafe for LockEntity
impl Send for LockEntity
impl Sync for LockEntity
impl Unpin for LockEntity
impl UnsafeUnpin for LockEntity
impl UnwindSafe for LockEntity
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