pub enum BoxStylePreset {
Rounded,
Square,
Heavy,
Double,
Ascii,
None,
}Expand description
Preset for box style selection.
Variants§
Rounded
Rounded corners (default).
Square
Square corners.
Heavy
Heavy/bold lines.
Double
Double-line borders.
Ascii
ASCII-only characters.
None
No visible borders.
Implementations§
Trait Implementations§
Source§impl Clone for BoxStylePreset
impl Clone for BoxStylePreset
Source§fn clone(&self) -> BoxStylePreset
fn clone(&self) -> BoxStylePreset
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoxStylePreset
impl Debug for BoxStylePreset
Source§impl Default for BoxStylePreset
impl Default for BoxStylePreset
Source§fn default() -> BoxStylePreset
fn default() -> BoxStylePreset
Returns the “default value” for a type. Read more
Source§impl FromStr for BoxStylePreset
impl FromStr for BoxStylePreset
Source§impl PartialEq for BoxStylePreset
impl PartialEq for BoxStylePreset
impl Copy for BoxStylePreset
impl Eq for BoxStylePreset
impl StructuralPartialEq for BoxStylePreset
Auto Trait Implementations§
impl Freeze for BoxStylePreset
impl RefUnwindSafe for BoxStylePreset
impl Send for BoxStylePreset
impl Sync for BoxStylePreset
impl Unpin for BoxStylePreset
impl UnsafeUnpin for BoxStylePreset
impl UnwindSafe for BoxStylePreset
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