pub struct ModeBar { /* private fields */ }
Implementations§
Source§impl ModeBar
impl ModeBar
pub fn orientation(self, value: Orientation) -> Self
pub fn background_color(self, value: impl Color) -> Self
pub fn color(self, value: impl Color) -> Self
pub fn active_color(self, value: impl Color) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModeBar
impl !RefUnwindSafe for ModeBar
impl Send for ModeBar
impl Sync for ModeBar
impl Unpin for ModeBar
impl !UnwindSafe for ModeBar
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