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