pub struct ParamRef {
pub entity: EntityId,
pub slot: ParamSlot,
}Expand description
Reference to a numeric parameter: {"entity": 3, "prop": "width"} or
{"entity": 3, "geom": "radius"}.
Fields§
§entity: EntityIdEntity.
slot: ParamSlotSlot.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ParamRef
impl<'de> Deserialize<'de> for ParamRef
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 ParamRef
Source§impl Ord for ParamRef
impl Ord for ParamRef
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 ParamRef
impl PartialOrd for ParamRef
impl StructuralPartialEq for ParamRef
Auto Trait Implementations§
impl Freeze for ParamRef
impl RefUnwindSafe for ParamRef
impl Send for ParamRef
impl Sync for ParamRef
impl Unpin for ParamRef
impl UnsafeUnpin for ParamRef
impl UnwindSafe for ParamRef
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