pub enum BorderType {
None,
Raised,
Depressed,
Uniform,
ShadowLeft,
ShadowRight,
Undefined6,
Undefined7,
}Expand description
Border options
Variants§
Trait Implementations§
Source§impl Clone for BorderType
impl Clone for BorderType
Source§fn clone(&self) -> BorderType
fn clone(&self) -> BorderType
Returns a duplicate 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 BorderType
impl Debug for BorderType
Source§impl From<BorderType> for u8
impl From<BorderType> for u8
Source§fn from(bt: BorderType) -> Self
fn from(bt: BorderType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for BorderType
impl From<u8> for BorderType
Source§impl Ord for BorderType
impl Ord for BorderType
Source§fn cmp(&self, other: &BorderType) -> Ordering
fn cmp(&self, other: &BorderType) -> 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 BorderType
impl PartialEq for BorderType
Source§impl PartialOrd for BorderType
impl PartialOrd for BorderType
impl Copy for BorderType
impl Eq for BorderType
impl StructuralPartialEq for BorderType
Auto Trait Implementations§
impl Freeze for BorderType
impl RefUnwindSafe for BorderType
impl Send for BorderType
impl Sync for BorderType
impl Unpin for BorderType
impl UnwindSafe for BorderType
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