pub struct ForegroundColor { /* private fields */ }Implementations§
Source§impl ForegroundColor
impl ForegroundColor
pub fn get_scheme_color(&self) -> &SchemeColor
pub fn get_scheme_color_mut(&mut self) -> &mut SchemeColor
pub fn set_scheme_color(&mut self, value: SchemeColor) -> &mut ForegroundColor
Trait Implementations§
Source§impl Clone for ForegroundColor
impl Clone for ForegroundColor
Source§fn clone(&self) -> ForegroundColor
fn clone(&self) -> ForegroundColor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ForegroundColor
impl Debug for ForegroundColor
Source§impl Default for ForegroundColor
impl Default for ForegroundColor
Source§fn default() -> ForegroundColor
fn default() -> ForegroundColor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ForegroundColor
impl RefUnwindSafe for ForegroundColor
impl Send for ForegroundColor
impl Sync for ForegroundColor
impl Unpin for ForegroundColor
impl UnwindSafe for ForegroundColor
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