pub struct Style {
pub background: Color,
pub background_border: Option<Color>,
pub foreground: Color,
pub foreground_border: Option<Color>,
}
Available on crate feature
pure
only.Expand description
The appearance of a toggler.
Fields
background: Color
background_border: Option<Color>
foreground: Color
foreground_border: Option<Color>
Trait 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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