pub struct BoxStyleBuilder { /* private fields */ }Expand description
Builder for BoxStyle.
Implementations§
Source§impl BoxStyleBuilder
impl BoxStyleBuilder
Sourcepub fn fill_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
pub fn fill_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
The background color for the box (default: transparent)
Sourcepub fn hatch_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
pub fn hatch_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
The hatching color for the box (default: transparent)
Trait Implementations§
Source§impl Clone for BoxStyleBuilder
impl Clone for BoxStyleBuilder
Source§fn clone(&self) -> BoxStyleBuilder
fn clone(&self) -> BoxStyleBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for BoxStyleBuilder
impl RefUnwindSafe for BoxStyleBuilder
impl Send for BoxStyleBuilder
impl Sync for BoxStyleBuilder
impl Unpin for BoxStyleBuilder
impl UnsafeUnpin for BoxStyleBuilder
impl UnwindSafe for BoxStyleBuilder
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