pub struct BoxStyle { /* private fields */ }Expand description
Style information for drawing a box.
Implementations§
Source§impl BoxStyle
impl BoxStyle
Sourcepub fn builder() -> BoxStyleBuilder
pub fn builder() -> BoxStyleBuilder
Creates a builder for this type.
Sourcepub fn fill_color(&self) -> Option<&RGBA>
pub fn fill_color(&self) -> Option<&RGBA>
The background color for the box (default: transparent)
Sourcepub fn hatch_color(&self) -> Option<&RGBA>
pub fn hatch_color(&self) -> Option<&RGBA>
The hatching color for the box (default: transparent)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BoxStyle
impl<'de> Deserialize<'de> for BoxStyle
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
Auto Trait Implementations§
impl Freeze for BoxStyle
impl RefUnwindSafe for BoxStyle
impl Send for BoxStyle
impl Sync for BoxStyle
impl Unpin for BoxStyle
impl UnsafeUnpin for BoxStyle
impl UnwindSafe for BoxStyle
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