pub struct ModeChange {
pub mode: Option<Mode>,
pub id: Option<&'static str>,
}Fields§
§mode: Option<Mode>The mode.
id: Option<&'static str>Its id.
Trait Implementations§
Source§impl Clone for ModeChange
impl Clone for ModeChange
impl Copy for ModeChange
Source§impl Debug for ModeChange
impl Debug for ModeChange
impl Eq for ModeChange
Source§impl PartialEq for ModeChange
impl PartialEq for ModeChange
Source§impl Payload for ModeChange
impl Payload for ModeChange
impl StructuralPartialEq for ModeChange
Auto Trait Implementations§
impl Forget for ModeChange
impl Freeze for ModeChange
impl Move for ModeChange
impl RefUnwindSafe for ModeChange
impl Send for ModeChange
impl Sync for ModeChange
impl Unpin for ModeChange
impl UnsafeUnpin for ModeChange
impl UnwindSafe for ModeChange
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