pub struct Style {
pub text_color: Option<Color>,
pub background: Option<Background>,
pub border_radius: f32,
pub border_width: f32,
pub border_color: Color,
}Fields
text_color: Option<Color>background: Option<Background>border_radius: f32border_width: f32border_color: ColorTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more