Enum webrender_api::PrimitiveKeyKind
source · pub enum PrimitiveKeyKind {
Clear,
Rectangle {
color: PropertyBinding<ColorU>,
},
}
Expand description
Information specific to a primitive type that uniquely identifies a primitive template by key.
Variants§
Clear
Clear an existing rect, used for special effects on some platforms.
Rectangle
Fields
§
color: PropertyBinding<ColorU>
Trait Implementations§
source§impl Clone for PrimitiveKeyKind
impl Clone for PrimitiveKeyKind
source§fn clone(&self) -> PrimitiveKeyKind
fn clone(&self) -> PrimitiveKeyKind
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 PrimitiveKeyKind
impl Debug for PrimitiveKeyKind
source§impl<'de> Deserialize<'de> for PrimitiveKeyKind
impl<'de> Deserialize<'de> for PrimitiveKeyKind
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 PrimitiveKeyKind
impl Hash for PrimitiveKeyKind
source§impl MallocSizeOf for PrimitiveKeyKind
impl MallocSizeOf for PrimitiveKeyKind
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 PrimitiveKeyKind
impl PartialEq for PrimitiveKeyKind
source§impl Serialize for PrimitiveKeyKind
impl Serialize for PrimitiveKeyKind
impl Eq for PrimitiveKeyKind
impl StructuralPartialEq for PrimitiveKeyKind
Auto Trait Implementations§
impl Freeze for PrimitiveKeyKind
impl RefUnwindSafe for PrimitiveKeyKind
impl Send for PrimitiveKeyKind
impl Sync for PrimitiveKeyKind
impl Unpin for PrimitiveKeyKind
impl UnwindSafe for PrimitiveKeyKind
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)