Enum webrender_api::BoxShadowClipMode
source · #[repr(u8)]pub enum BoxShadowClipMode {
Outset = 0,
Inset = 1,
}
Variants§
Trait Implementations§
source§impl Clone for BoxShadowClipMode
impl Clone for BoxShadowClipMode
source§fn clone(&self) -> BoxShadowClipMode
fn clone(&self) -> BoxShadowClipMode
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 BoxShadowClipMode
impl Debug for BoxShadowClipMode
source§impl Default for BoxShadowClipMode
impl Default for BoxShadowClipMode
source§impl<'de> Deserialize<'de> for BoxShadowClipMode
impl<'de> Deserialize<'de> for BoxShadowClipMode
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 BoxShadowClipMode
impl Hash for BoxShadowClipMode
source§impl MallocSizeOf for BoxShadowClipMode
impl MallocSizeOf for BoxShadowClipMode
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 BoxShadowClipMode
impl PartialEq for BoxShadowClipMode
source§fn eq(&self, other: &BoxShadowClipMode) -> bool
fn eq(&self, other: &BoxShadowClipMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for BoxShadowClipMode
impl Peek for BoxShadowClipMode
source§impl Poke for BoxShadowClipMode
impl Poke for BoxShadowClipMode
source§impl Serialize for BoxShadowClipMode
impl Serialize for BoxShadowClipMode
impl Copy for BoxShadowClipMode
impl Eq for BoxShadowClipMode
impl StructuralPartialEq for BoxShadowClipMode
Auto Trait Implementations§
impl Freeze for BoxShadowClipMode
impl RefUnwindSafe for BoxShadowClipMode
impl Send for BoxShadowClipMode
impl Sync for BoxShadowClipMode
impl Unpin for BoxShadowClipMode
impl UnwindSafe for BoxShadowClipMode
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