pub struct GraphTheme {
pub bg: Color,
pub fg: Color,
pub dim: Color,
pub ok: Color,
pub failed: Color,
pub running: Color,
pub queued: Color,
pub panel: Color,
}Fields§
§bg: ColorDefault background and node text/foreground.
fg: Color§dim: Color§ok: ColorStatus colors for node borders/labels.
failed: Color§running: Color§queued: Color§panel: ColorBottom-bar / panel background.
Trait Implementations§
Source§impl Clone for GraphTheme
impl Clone for GraphTheme
impl Copy for GraphTheme
Auto Trait Implementations§
impl Forget for GraphTheme
impl Freeze for GraphTheme
impl RefUnwindSafe for GraphTheme
impl Send for GraphTheme
impl Sync for GraphTheme
impl Unpin for GraphTheme
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more