pub struct ColorScheme { /* private fields */ }Implementations§
Source§impl ColorScheme
impl ColorScheme
pub fn get_name(&self) -> &str
pub fn set_name<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn set_accent1(&mut self, value: Color2Type)
pub fn get_accent1(&self) -> &Color2Type
pub fn get_accent1_mut(&mut self) -> &mut Color2Type
pub fn set_accent2(&mut self, value: Color2Type)
pub fn get_accent2(&self) -> &Color2Type
pub fn get_accent2_mut(&mut self) -> &mut Color2Type
pub fn set_accent3(&mut self, value: Color2Type)
pub fn get_accent3(&self) -> &Color2Type
pub fn get_accent3_mut(&mut self) -> &mut Color2Type
pub fn set_accent4(&mut self, value: Color2Type)
pub fn get_accent4(&self) -> &Color2Type
pub fn get_accent4_mut(&mut self) -> &mut Color2Type
pub fn set_accent5(&mut self, value: Color2Type)
pub fn get_accent5(&self) -> &Color2Type
pub fn get_accent5_mut(&mut self) -> &mut Color2Type
pub fn set_accent6(&mut self, value: Color2Type)
pub fn get_accent6(&self) -> &Color2Type
pub fn get_accent6_mut(&mut self) -> &mut Color2Type
pub fn set_dk1(&mut self, value: Color2Type)
pub fn get_dk1(&self) -> &Color2Type
pub fn get_dk1_mut(&mut self) -> &mut Color2Type
pub fn set_dk2(&mut self, value: Color2Type)
pub fn get_dk2(&self) -> &Color2Type
pub fn get_dk2_mut(&mut self) -> &mut Color2Type
pub fn set_fol_hlink(&mut self, value: Color2Type)
pub fn get_fol_hlink(&self) -> &Color2Type
pub fn get_fol_hlink_mut(&mut self) -> &mut Color2Type
pub fn set_hlink(&mut self, value: Color2Type)
pub fn get_hlink(&self) -> &Color2Type
pub fn get_hlink_mut(&mut self) -> &mut Color2Type
pub fn set_lt1(&mut self, value: Color2Type)
pub fn get_lt1(&self) -> &Color2Type
pub fn get_lt1_mut(&mut self) -> &mut Color2Type
pub fn set_lt2(&mut self, value: Color2Type)
pub fn get_lt2(&self) -> &Color2Type
pub fn get_lt2_mut(&mut self) -> &mut Color2Type
pub fn get_color_map(&self) -> Vec<String>
Trait Implementations§
Source§impl Clone for ColorScheme
impl Clone for ColorScheme
Source§fn clone(&self) -> ColorScheme
fn clone(&self) -> ColorScheme
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 ColorScheme
impl Debug for ColorScheme
Source§impl Default for ColorScheme
impl Default for ColorScheme
Source§fn default() -> ColorScheme
fn default() -> ColorScheme
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ColorScheme
impl RefUnwindSafe for ColorScheme
impl Send for ColorScheme
impl Sync for ColorScheme
impl Unpin for ColorScheme
impl UnwindSafe for ColorScheme
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