pub struct SetLightScheme<S: State = Empty>(/* private fields */);Expand description
State transition - sets the light_scheme field to Set
Trait Implementations§
Source§impl<S: State> State for SetLightScheme<S>
impl<S: State> State for SetLightScheme<S>
type LightScheme = Set<light_scheme>
type DarkCodeTheme = <S as State>::DarkCodeTheme
type DarkScheme = <S as State>::DarkScheme
type Fonts = <S as State>::Fonts
type LightCodeTheme = <S as State>::LightCodeTheme
type Spacing = <S as State>::Spacing
Auto Trait Implementations§
impl<S> Freeze for SetLightScheme<S>
impl<S> RefUnwindSafe for SetLightScheme<S>
impl<S> Send for SetLightScheme<S>
impl<S> Sync for SetLightScheme<S>
impl<S> Unpin for SetLightScheme<S>
impl<S> UnsafeUnpin for SetLightScheme<S>
impl<S> UnwindSafe for SetLightScheme<S>
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