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