pub enum BorderStyle {
None,
Solid,
Double,
Dotted,
Dashed,
Hidden,
Groove,
Ridge,
Inset,
Outset,
}
Expand description
Style of a border
: solid, double, dash, ridge, etc.
Variants§
Implementations§
Source§impl BorderStyle
impl BorderStyle
pub fn normalize_border(self) -> Option<BorderStyleNoNone>
Trait Implementations§
Source§impl Clone for BorderStyle
impl Clone for BorderStyle
Source§fn clone(&self) -> BorderStyle
fn clone(&self) -> BorderStyle
Returns a copy 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 BorderStyle
impl Debug for BorderStyle
Source§impl Default for BorderStyle
impl Default for BorderStyle
Source§impl Display for BorderStyle
impl Display for BorderStyle
Source§impl Hash for BorderStyle
impl Hash for BorderStyle
Source§impl Ord for BorderStyle
impl Ord for BorderStyle
Source§fn cmp(&self, other: &BorderStyle) -> Ordering
fn cmp(&self, other: &BorderStyle) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BorderStyle
impl PartialEq for BorderStyle
Source§impl PartialOrd for BorderStyle
impl PartialOrd for BorderStyle
impl Copy for BorderStyle
impl Eq for BorderStyle
impl StructuralPartialEq for BorderStyle
Auto Trait Implementations§
impl Freeze for BorderStyle
impl RefUnwindSafe for BorderStyle
impl Send for BorderStyle
impl Sync for BorderStyle
impl Unpin for BorderStyle
impl UnwindSafe for BorderStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)