pub struct SetForeground<S: State = Empty>(/* private fields */);Expand description
State transition - sets the foreground field to Set
Trait Implementations§
Source§impl<S: State> State for SetForeground<S>
impl<S: State> State for SetForeground<S>
type AccentForeground = <S as State>::AccentForeground
type Background = <S as State>::Background
type Foreground = Set<foreground>
type Accent = <S as State>::Accent
Auto Trait Implementations§
impl<S> Freeze for SetForeground<S>
impl<S> RefUnwindSafe for SetForeground<S>
impl<S> Send for SetForeground<S>
impl<S> Sync for SetForeground<S>
impl<S> Unpin for SetForeground<S>
impl<S> UnsafeUnpin for SetForeground<S>
impl<S> UnwindSafe for SetForeground<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