pub struct Style {
pub background: Option<Background>,
pub border: Border,
pub shadow: Shadow,
pub snap: bool,
}Available on crate feature
selector_bar only.Expand description
The appearance of a SelectorBar.
Fields§
§background: Option<Background>The Background of the SelectorBar.
border: BorderThe Border of the SelectorBar.
shadow: ShadowThe Shadow of the SelectorBar.
snap: boolWhether the SelectorBar should be snapped to the pixel grid.
Implementations§
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