pub struct Palette {Show 17 fields
pub bg: &'static str,
pub surface: &'static str,
pub inner: &'static str,
pub ink: &'static str,
pub muted: &'static str,
pub faint: &'static str,
pub accent: &'static str,
pub accent2: &'static str,
pub hot: &'static str,
pub ok: &'static str,
pub warn: &'static str,
pub node_border: &'static str,
pub edge: &'static str,
pub edge_label: &'static str,
pub group_border: &'static str,
pub group_label: &'static str,
pub group_wash_opacity: f64,
}Fields§
§bg: &'static str§surface: &'static str§inner: &'static strFill for boxes nested inside another node (e.g. HBM inside a GPU).
ink: &'static str§muted: &'static str§faint: &'static str§accent: &'static str§accent2: &'static str§hot: &'static str§ok: &'static str§warn: &'static str§node_border: &'static strDefault node border.
edge: &'static strDefault edge stroke.
edge_label: &'static strEdge label text.
group_border: &'static strGroup border + label.
group_label: &'static str§group_wash_opacity: f64Group interior wash opacity (over ink).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Palette
impl RefUnwindSafe for Palette
impl Send for Palette
impl Sync for Palette
impl Unpin for Palette
impl UnsafeUnpin for Palette
impl UnwindSafe for Palette
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