#[repr(u32)]pub enum BorderStyle {
None = 0,
Solid = 1,
Double = 2,
Dotted = 3,
Dashed = 4,
Hidden = 5,
Groove = 6,
Ridge = 7,
Inset = 8,
Outset = 9,
}
Variants§
None = 0
Solid = 1
Double = 2
Dotted = 3
Dashed = 4
Hidden = 5
Groove = 6
Ridge = 7
Inset = 8
Outset = 9
Implementations§
Source§impl BorderStyle
impl BorderStyle
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<'de> Deserialize<'de> for BorderStyle
impl<'de> Deserialize<'de> for BorderStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for BorderStyle
impl Hash for BorderStyle
Source§impl MallocSizeOf for BorderStyle
impl MallocSizeOf for BorderStyle
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl PartialEq for BorderStyle
impl PartialEq for BorderStyle
Source§impl Peek for BorderStyle
impl Peek for BorderStyle
Source§impl Poke for BorderStyle
impl Poke for BorderStyle
Source§impl Serialize for BorderStyle
impl Serialize 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