pub struct ForegroundColorMsg(pub Color);Expand description
ForegroundColorMsg represents a foreground color message. This message is
emitted when the program requests the terminal foreground color with the
request_foreground_color command.
Tuple Fields§
§0: ColorImplementations§
Trait Implementations§
Source§impl Clone for ForegroundColorMsg
impl Clone for ForegroundColorMsg
Source§fn clone(&self) -> ForegroundColorMsg
fn clone(&self) -> ForegroundColorMsg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ForegroundColorMsg
Source§impl Debug for ForegroundColorMsg
impl Debug for ForegroundColorMsg
impl Eq for ForegroundColorMsg
Source§impl PartialEq for ForegroundColorMsg
impl PartialEq for ForegroundColorMsg
impl StructuralPartialEq for ForegroundColorMsg
Auto Trait Implementations§
impl Freeze for ForegroundColorMsg
impl RefUnwindSafe for ForegroundColorMsg
impl Send for ForegroundColorMsg
impl Sync for ForegroundColorMsg
impl Unpin for ForegroundColorMsg
impl UnsafeUnpin for ForegroundColorMsg
impl UnwindSafe for ForegroundColorMsg
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