pub enum BorderWidth {
Thin,
Medium,
Thick,
Length(Length),
}Expand description
A border width: a keyword or a length.
Variants§
Trait Implementations§
Source§impl Clone for BorderWidth
impl Clone for BorderWidth
Source§fn clone(&self) -> BorderWidth
fn clone(&self) -> BorderWidth
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 BorderWidth
Source§impl Debug for BorderWidth
impl Debug for BorderWidth
Source§impl PartialEq for BorderWidth
impl PartialEq for BorderWidth
Source§fn eq(&self, other: &BorderWidth) -> bool
fn eq(&self, other: &BorderWidth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BorderWidth
Auto Trait Implementations§
impl Freeze for BorderWidth
impl RefUnwindSafe for BorderWidth
impl Send for BorderWidth
impl Sync for BorderWidth
impl Unpin for BorderWidth
impl UnsafeUnpin for BorderWidth
impl UnwindSafe for BorderWidth
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