pub struct Style {
pub stroke: Option<String>,
pub fill: Option<Fill>,
pub dash: Dash,
pub thick: Option<f64>,
pub invis: bool,
}Expand description
Visual style shared by all shapes.
Fields§
§stroke: Option<String>Stroke color (CSS), or None to use the default.
fill: Option<Fill>§dash: Dash§thick: Option<f64>Stroke thickness in points; None = backend default.
invis: boolInvisible (used by move and invis): geometry counts, nothing drawn.
Trait Implementations§
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnsafeUnpin for Style
impl UnwindSafe for Style
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