pub enum ParamSlot {
Prop(String),
Geom(String),
}Expand description
Which slot of an entity a numeric parameter lives in.
Variants§
Prop(String)
A numeric property (props.width).
Geom(String)
A geometry parameter of a built-in shape (radius, a.x, width, …).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ParamSlot
impl<'de> Deserialize<'de> for ParamSlot
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
impl Eq for ParamSlot
Source§impl Ord for ParamSlot
impl Ord for ParamSlot
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ParamSlot
impl PartialOrd for ParamSlot
impl StructuralPartialEq for ParamSlot
Auto Trait Implementations§
impl Freeze for ParamSlot
impl RefUnwindSafe for ParamSlot
impl Send for ParamSlot
impl Sync for ParamSlot
impl Unpin for ParamSlot
impl UnsafeUnpin for ParamSlot
impl UnwindSafe for ParamSlot
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