pub struct PropertySetSnapshotValue {
pub variant: ExpressionVariant,
pub object: Option<PropertySetSnapshotObject>,
}Expand description
One value of a PropertySetSnapshot: a variant or an object.
Fields§
§variant: ExpressionVariant§object: Option<PropertySetSnapshotObject>Implementations§
Source§impl PropertySetSnapshotValue
impl PropertySetSnapshotValue
Sourcepub fn from_object(o: PropertySetSnapshotObject) -> Self
pub fn from_object(o: PropertySetSnapshotObject) -> Self
A value that refers to an object.
Trait Implementations§
Source§impl Default for PropertySetSnapshotValue
impl Default for PropertySetSnapshotValue
Source§impl From<ExpressionVariant> for PropertySetSnapshotValue
impl From<ExpressionVariant> for PropertySetSnapshotValue
Source§fn from(v: ExpressionVariant) -> Self
fn from(v: ExpressionVariant) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for PropertySetSnapshotValue
impl !RefUnwindSafe for PropertySetSnapshotValue
impl !Send for PropertySetSnapshotValue
impl !Sync for PropertySetSnapshotValue
impl !UnwindSafe for PropertySetSnapshotValue
impl Unpin for PropertySetSnapshotValue
impl UnsafeUnpin for PropertySetSnapshotValue
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more