pub struct ColorScheme { /* private fields */ }Implementations§
Source§impl ColorScheme
impl ColorScheme
pub fn name(&self) -> &str
pub fn get_name(&self) -> &str
👎Deprecated since 3.0.0:
Use name()
pub fn set_name<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn accent1(&self) -> &Color2Type
pub fn get_accent1(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use accent1()
pub fn accent1_mut(&mut self) -> &mut Color2Type
pub fn get_accent1_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use accent1_mut()
pub fn set_accent1(&mut self, value: Color2Type) -> &mut Self
pub fn accent2(&self) -> &Color2Type
pub fn get_accent2(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use accent2()
pub fn accent2_mut(&mut self) -> &mut Color2Type
pub fn get_accent2_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use accent2_mut()
pub fn set_accent2(&mut self, value: Color2Type) -> &mut Self
pub fn accent3(&self) -> &Color2Type
pub fn get_accent3(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use accent3()
pub fn accent3_mut(&mut self) -> &mut Color2Type
pub fn get_accent3_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use accent3_mut()
pub fn set_accent3(&mut self, value: Color2Type) -> &mut Self
pub fn accent4(&self) -> &Color2Type
pub fn get_accent4(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use accent4()
pub fn accent4_mut(&mut self) -> &mut Color2Type
pub fn get_accent4_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use accent4_mut()
pub fn set_accent4(&mut self, value: Color2Type) -> &mut Self
pub fn accent5(&self) -> &Color2Type
pub fn get_accent5(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use accent5()
pub fn accent5_mut(&mut self) -> &mut Color2Type
pub fn get_accent5_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use accent5_mut()
pub fn set_accent5(&mut self, value: Color2Type) -> &mut Self
pub fn accent6(&self) -> &Color2Type
pub fn get_accent6(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use accent6()
pub fn accent6_mut(&mut self) -> &mut Color2Type
pub fn get_accent6_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use accent6_mut()
pub fn set_accent6(&mut self, value: Color2Type) -> &mut Self
pub fn dk1(&self) -> &Color2Type
pub fn get_dk1(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use dk1()
pub fn dk1_mut(&mut self) -> &mut Color2Type
pub fn get_dk1_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use dk1_mut()
pub fn set_dk1(&mut self, value: Color2Type) -> &mut Self
pub fn dk2(&self) -> &Color2Type
pub fn get_dk2(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use dk2()
pub fn dk2_mut(&mut self) -> &mut Color2Type
pub fn get_dk2_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use dk2_mut()
pub fn set_dk2(&mut self, value: Color2Type) -> &mut Self
pub fn fol_hlink(&self) -> &Color2Type
pub fn get_fol_hlink(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use fol_hlink()
pub fn fol_hlink_mut(&mut self) -> &mut Color2Type
pub fn get_fol_hlink_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use fol_hlink_mut()
pub fn set_fol_hlink(&mut self, value: Color2Type) -> &mut Self
pub fn hlink(&self) -> &Color2Type
pub fn get_hlink(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use hlink()
pub fn hlink_mut(&mut self) -> &mut Color2Type
pub fn get_hlink_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use hlink_mut()
pub fn set_hlink(&mut self, value: Color2Type) -> &mut Self
pub fn lt1(&self) -> &Color2Type
pub fn get_lt1(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use lt1()
pub fn lt1_mut(&mut self) -> &mut Color2Type
pub fn get_lt1_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use lt1_mut()
pub fn set_lt1(&mut self, value: Color2Type) -> &mut Self
pub fn lt2(&self) -> &Color2Type
pub fn get_lt2(&self) -> &Color2Type
👎Deprecated since 3.0.0:
Use lt2()
pub fn lt2_mut(&mut self) -> &mut Color2Type
pub fn get_lt2_mut(&mut self) -> &mut Color2Type
👎Deprecated since 3.0.0:
Use lt2_mut()
pub fn set_lt2(&mut self, value: Color2Type) -> &mut Self
pub fn color_map(&self) -> Vec<String>
pub fn get_color_map(&self) -> Vec<String>
👎Deprecated since 3.0.0:
Use color_map()
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 (const: unstable) · 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 UnsafeUnpin 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