Enum workflow_d3::graph::GraphTheme
source · 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 RefUnwindSafe for GraphTheme
impl Send for GraphTheme
impl Sync for GraphTheme
impl Unpin for GraphTheme
impl UnwindSafe for GraphTheme
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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