#[non_exhaustive]pub enum BorderInlineWidth {
Medium,
Thick,
Thin,
Length(Length),
Raw(Raw),
}Expand description
A value of border-inline-width.
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.
Medium
medium.
Thick
thick.
Thin
thin.
Length(Length)
A length.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for BorderInlineWidth
impl Clone for BorderInlineWidth
Source§fn clone(&self) -> BorderInlineWidth
fn clone(&self) -> BorderInlineWidth
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 BorderInlineWidth
impl Debug for BorderInlineWidth
Source§impl Display for BorderInlineWidth
impl Display for BorderInlineWidth
Source§impl From<Length> for BorderInlineWidth
impl From<Length> for BorderInlineWidth
Source§impl From<Raw> for BorderInlineWidth
impl From<Raw> for BorderInlineWidth
Source§impl PartialEq for BorderInlineWidth
impl PartialEq for BorderInlineWidth
impl StructuralPartialEq for BorderInlineWidth
Auto Trait Implementations§
impl Freeze for BorderInlineWidth
impl RefUnwindSafe for BorderInlineWidth
impl Send for BorderInlineWidth
impl Sync for BorderInlineWidth
impl Unpin for BorderInlineWidth
impl UnsafeUnpin for BorderInlineWidth
impl UnwindSafe for BorderInlineWidth
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