pub enum GraphTheme {
Light,
Dark,
Custom(Box<GraphThemeOptions>),
}
Variants§
Implementations§
Source§impl GraphTheme
impl GraphTheme
pub fn get_options(self) -> GraphThemeOptions
pub fn light_theme_options() -> GraphThemeOptions
pub fn dark_theme_options() -> GraphThemeOptions
Trait Implementations§
Source§impl Clone for GraphTheme
impl Clone for GraphTheme
Source§fn clone(&self) -> GraphTheme
fn clone(&self) -> GraphTheme
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for GraphTheme
impl RefUnwindSafe for GraphTheme
impl Send for GraphTheme
impl Sync for GraphTheme
impl Unpin for GraphTheme
impl UnwindSafe for GraphTheme
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