pub struct GraphStyle {
pub card: (u8, u8, u8),
pub band: (u8, u8, u8),
pub muted: (u8, u8, u8),
pub heading: (u8, u8, u8),
pub ink: (u8, u8, u8),
pub class_prefix: String,
}Expand description
The colours and class names of a drawing.
Fields§
§card: (u8, u8, u8)Box and badge fill, and the halo behind edge labels.
band: (u8, u8, u8)Swimlane band tint.
muted: (u8, u8, u8)Lane names and edge labels.
heading: (u8, u8, u8)Node labels.
ink: (u8, u8, u8)Node values and badge text.
class_prefix: StringPrefix of the layer classes (<prefix>node, <prefix>edge,
<prefix>edge-label, <prefix>lane, <prefix>lane-label,
<prefix>node-label, <prefix>node-value, <prefix>node-badge,
<prefix>node-spark).
Trait Implementations§
Source§impl Clone for GraphStyle
impl Clone for GraphStyle
Source§impl Debug for GraphStyle
impl Debug for GraphStyle
Auto Trait Implementations§
impl Forget for GraphStyle
impl Freeze for GraphStyle
impl Move for GraphStyle
impl RefUnwindSafe for GraphStyle
impl Send for GraphStyle
impl Sync for GraphStyle
impl Unpin for GraphStyle
impl UnsafeUnpin for GraphStyle
impl UnwindSafe for GraphStyle
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