pub struct Separator { /* private fields */ }Expand description
Simple separator/divider component
§Example
use armas_basic::Separator;
// Horizontal separator (default)
Separator::new().show(ui);
// Vertical separator
Separator::new().vertical().show(ui);Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Separator
impl RefUnwindSafe for Separator
impl Send for Separator
impl Sync for Separator
impl Unpin for Separator
impl UnsafeUnpin for Separator
impl UnwindSafe for Separator
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