pub enum PropertyReference {
Local {
sub_component_path: Vec<usize>,
property_index: PropertyIndex,
},
InNativeItem {
sub_component_path: Vec<usize>,
item_index: usize,
prop_name: String,
},
InParent {
level: NonZeroUsize,
parent_reference: Box<PropertyReference>,
},
Global {
global_index: usize,
property_index: usize,
},
}
Expand description
a Reference to a property, in the context of a SubComponent
Variants
Local
A property relative to this SubComponent
InNativeItem
A property in a Native item
InParent
The properties is a property relative to a parent ItemTree (level
level deep)
Global
The property within a GlobalComponent
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PropertyReference
impl Send for PropertyReference
impl Sync for PropertyReference
impl Unpin for PropertyReference
impl UnwindSafe for PropertyReference
Blanket Implementations
Mutably borrows from an owned value. Read more