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