pub struct Style {
pub color: Color,
pub radius: Radius,
pub fill_mode: FillMode,
pub snap: bool,
}Expand description
The appearance of a rule.
Fields§
§color: ColorThe color of the rule.
radius: RadiusThe radius of the line corners.
fill_mode: FillModeThe FillMode of the rule.
snap: boolWhether the rule should be snapped to the pixel grid.
Trait Implementations§
impl Copy for Style
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