pub struct SvgLayoutTheme {
pub stroke_width_multiplier: fsize,
pub bin_fill: Color,
pub item_fill: Color,
pub hole_fill: Color,
pub qz_fill: [Color; 10],
pub qz_stroke_opac: fsize,
}
Fields§
§stroke_width_multiplier: fsize
§bin_fill: Color
§item_fill: Color
§hole_fill: Color
§qz_fill: [Color; 10]
§qz_stroke_opac: fsize
Implementations§
Source§impl SvgLayoutTheme
impl SvgLayoutTheme
pub fn earth_tones() -> Self
pub fn gray() -> Self
Trait Implementations§
Source§impl Clone for SvgLayoutTheme
impl Clone for SvgLayoutTheme
Source§fn clone(&self) -> SvgLayoutTheme
fn clone(&self) -> SvgLayoutTheme
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 moreSource§impl Debug for SvgLayoutTheme
impl Debug for SvgLayoutTheme
Source§impl Default for SvgLayoutTheme
impl Default for SvgLayoutTheme
Source§impl<'de> Deserialize<'de> for SvgLayoutTheme
impl<'de> Deserialize<'de> for SvgLayoutTheme
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SvgLayoutTheme
impl PartialEq for SvgLayoutTheme
Source§impl Serialize for SvgLayoutTheme
impl Serialize for SvgLayoutTheme
impl Copy for SvgLayoutTheme
impl StructuralPartialEq for SvgLayoutTheme
Auto Trait Implementations§
impl Freeze for SvgLayoutTheme
impl RefUnwindSafe for SvgLayoutTheme
impl Send for SvgLayoutTheme
impl Sync for SvgLayoutTheme
impl Unpin for SvgLayoutTheme
impl UnwindSafe for SvgLayoutTheme
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