#[non_exhaustive]pub enum ContainerBorders {
Separators,
Full,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Separators
Only separators are drawn between children.
Full
A border is drawn around the entire container.
Trait Implementations§
Source§impl Clone for ContainerBorders
impl Clone for ContainerBorders
Source§fn clone(&self) -> ContainerBorders
fn clone(&self) -> ContainerBorders
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 ContainerBorders
Source§impl Debug for ContainerBorders
impl Debug for ContainerBorders
Source§impl Default for ContainerBorders
impl Default for ContainerBorders
Source§fn default() -> ContainerBorders
fn default() -> ContainerBorders
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerBorders
impl<'de> Deserialize<'de> for ContainerBorders
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContainerBorders
Source§impl PartialEq for ContainerBorders
impl PartialEq for ContainerBorders
Source§fn eq(&self, other: &ContainerBorders) -> bool
fn eq(&self, other: &ContainerBorders) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContainerBorders
impl Serialize for ContainerBorders
impl StructuralPartialEq for ContainerBorders
Auto Trait Implementations§
impl Freeze for ContainerBorders
impl RefUnwindSafe for ContainerBorders
impl Send for ContainerBorders
impl Sync for ContainerBorders
impl Unpin for ContainerBorders
impl UnsafeUnpin for ContainerBorders
impl UnwindSafe for ContainerBorders
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