#[non_exhaustive]pub enum BoxDecorationBreak {
Clone,
Slice,
}Expand description
A value of box-decoration-break.
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.
Trait Implementations§
Source§impl Clone for BoxDecorationBreak
impl Clone for BoxDecorationBreak
Source§fn clone(&self) -> BoxDecorationBreak
fn clone(&self) -> BoxDecorationBreak
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 moreSource§impl Debug for BoxDecorationBreak
impl Debug for BoxDecorationBreak
Source§impl Display for BoxDecorationBreak
impl Display for BoxDecorationBreak
Source§impl PartialEq for BoxDecorationBreak
impl PartialEq for BoxDecorationBreak
impl StructuralPartialEq for BoxDecorationBreak
Auto Trait Implementations§
impl Freeze for BoxDecorationBreak
impl RefUnwindSafe for BoxDecorationBreak
impl Send for BoxDecorationBreak
impl Sync for BoxDecorationBreak
impl Unpin for BoxDecorationBreak
impl UnsafeUnpin for BoxDecorationBreak
impl UnwindSafe for BoxDecorationBreak
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