#[non_exhaustive]pub enum ContainerBorder {
Solid,
Dashed,
}Expand description
The border style of a container.
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.
Solid
Rounded solid border, opaque background.
Dashed
Dashed border, tinted background matching label color.
Trait Implementations§
Source§impl Clone for ContainerBorder
impl Clone for ContainerBorder
Source§fn clone(&self) -> ContainerBorder
fn clone(&self) -> ContainerBorder
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 ContainerBorder
impl Debug for ContainerBorder
Source§impl<'de> Deserialize<'de> for ContainerBorder
impl<'de> Deserialize<'de> for ContainerBorder
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
Source§impl Display for ContainerBorder
impl Display for ContainerBorder
Source§impl Hash for ContainerBorder
impl Hash for ContainerBorder
Source§impl PartialEq for ContainerBorder
impl PartialEq for ContainerBorder
Source§impl Serialize for ContainerBorder
impl Serialize for ContainerBorder
impl Copy for ContainerBorder
impl Eq for ContainerBorder
impl StructuralPartialEq for ContainerBorder
Auto Trait Implementations§
impl Freeze for ContainerBorder
impl RefUnwindSafe for ContainerBorder
impl Send for ContainerBorder
impl Sync for ContainerBorder
impl Unpin for ContainerBorder
impl UnsafeUnpin for ContainerBorder
impl UnwindSafe for ContainerBorder
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