#[repr(u8)]pub enum SeparatorStyle {
Solid,
Medium,
Thin,
Double,
Custom(char),
}Expand description
An enum representing all possible styles for a Separator component.
Variants§
Solid
A solid block line.
███████████████████████████
Medium
A medium-thickness line.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Thin
A thin line.
──────────────────────────────
Double
A double line.
══════════════════════════════
Custom(char)
A custom character for the separator. Example using the + character:
++++++++++++++++++++++++++++++
Trait Implementations§
Source§impl Clone for SeparatorStyle
impl Clone for SeparatorStyle
Source§fn clone(&self) -> SeparatorStyle
fn clone(&self) -> SeparatorStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SeparatorStyle
Source§impl Debug for SeparatorStyle
impl Debug for SeparatorStyle
impl Eq for SeparatorStyle
Source§impl PartialEq for SeparatorStyle
impl PartialEq for SeparatorStyle
impl StructuralPartialEq for SeparatorStyle
Auto Trait Implementations§
impl Freeze for SeparatorStyle
impl RefUnwindSafe for SeparatorStyle
impl Send for SeparatorStyle
impl Sync for SeparatorStyle
impl Unpin for SeparatorStyle
impl UnsafeUnpin for SeparatorStyle
impl UnwindSafe for SeparatorStyle
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