pub struct ModeParts<'h> {
pub name: &'static str,
/* private fields */
}Expand description
Parts of a Mode, used on the ModeSwitched hook.
Fields§
§name: &'static strThe name of this Mode.
Implementations§
Auto Trait Implementations§
impl<'h> Freeze for ModeParts<'h>
impl<'h> !RefUnwindSafe for ModeParts<'h>
impl<'h> !Send for ModeParts<'h>
impl<'h> !Sync for ModeParts<'h>
impl<'h> Unpin for ModeParts<'h>
impl<'h> UnsafeUnpin for ModeParts<'h>
impl<'h> !UnwindSafe for ModeParts<'h>
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