pub struct ExtendedState {
pub open_count: u64,
}
Fields§
§open_count: u64
Implementations§
Trait Implementations§
Source§impl AsMut<ExtendedState> for Door
impl AsMut<ExtendedState> for Door
Source§fn as_mut(&mut self) -> &mut ExtendedState
fn as_mut(&mut self) -> &mut ExtendedState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ExtendedState> for Door
impl AsRef<ExtendedState> for Door
Source§fn as_ref(&self) -> &ExtendedState
fn as_ref(&self) -> &ExtendedState
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for ExtendedState
impl RefUnwindSafe for ExtendedState
impl Send for ExtendedState
impl Sync for ExtendedState
impl Unpin for ExtendedState
impl UnwindSafe for ExtendedState
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