pub struct Style {
pub color: Option<String>,
pub background_color: Option<String>,
pub border_style: Option<String>,
pub border_color: Option<String>,
pub border_width: Option<f32>,
pub shape: Option<String>,
pub size: Option<f32>,
pub font_size: Option<f32>,
pub font_family: Option<String>,
pub opacity: Option<f32>,
}Expand description
Visual style properties
Fields§
§color: Option<String>§background_color: Option<String>§border_style: Option<String>§border_color: Option<String>§border_width: Option<f32>§shape: Option<String>§size: Option<f32>§font_size: Option<f32>§font_family: Option<String>§opacity: Option<f32>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 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