CompiledBindingPathElement
struct · ferroui-base · v0.5.0
struct CompiledBindingPathElement<'a>
A read-only view of an element of a CompiledBindingPath.
Members
kind
fn kind(self: &Self) -> CompiledBindingPathElementKind
What the element is.
name
fn name(self: &Self) -> Option<&'a str>
The name of the member a property or method element reads, of the element a named-element element selects.
property
fn property(self: &Self) -> Option<Rc<dyn IPropertyInfo>>
The description of the property a property element reads (the
Property of the managed original). None for other elements and
for a property that only has untyped accessors (its name and type
are name and property_type).
property_type
fn property_type(self: &Self) -> Option<ValueType>
The type of the property a property element reads.
is_typed_property
fn is_typed_property(self: &Self) -> bool
Whether the element is a property with typed accessors: the one a path must consist of to be instantiated as a typed binding expression.
accepts_null
fn accepts_null(self: &Self) -> bool
Whether a null-conditional operator applies to the access.
ancestor
fn ancestor(self: &Self) -> Option<(Option<&'static TypeInfo>, usize)>
The ancestor type and level of an ancestor element.
array_indices
fn array_indices(self: &Self) -> Option<&'a [i32]>
The indexes of an array element.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopy
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.