Enum webrender_api::display_item::BorderStyle
source · #[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§fn eq(&self, other: &BorderStyle) -> bool
fn eq(&self, other: &BorderStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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