pub enum BorderStyle {
None,
Solid,
Inset,
Outset,
Hidden,
Dotted,
Dashed,
Double,
Groove,
Ridge,
// some variants omitted
}
Variants§
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 Display for BorderStyle
impl Display for BorderStyle
Source§impl<'a> FromValue<'a> for BorderStyle
impl<'a> FromValue<'a> for BorderStyle
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for BorderStyle
impl<'a> FromValueOptional<'a> for BorderStyle
unsafe fn from_value_optional(value: &Value) -> Option<Self>
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
Source§impl StaticType for BorderStyle
impl StaticType for BorderStyle
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.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§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.