pub enum CompiledBindingPathElementKind {
Not,
Property,
MethodAsDelegate,
MethodAsCommand,
Stream,
SelfElement,
Ancestor,
VisualAncestor,
ElementName,
TemplatedParent,
ArrayElement,
TypeCast,
}Expand description
What an element of a compiled binding path is: the element classes of the managed original.
Variants§
Not
Negates the result of the path (!).
Property
A property: a registered property, or a plain property (with typed or untyped accessors).
MethodAsDelegate
A method as a delegate value.
MethodAsCommand
A method as a command.
Stream
A stream (^).
SelfElement
The binding target itself ($self).
Ancestor
An ancestor in the logical tree.
VisualAncestor
An ancestor in the visual tree.
ElementName
A named element.
TemplatedParent
The templated parent.
ArrayElement
An array element.
TypeCast
A type cast.
Trait Implementations§
impl Copy for CompiledBindingPathElementKind
impl Eq for CompiledBindingPathElementKind
impl StructuralPartialEq for CompiledBindingPathElementKind
Auto Trait Implementations§
impl Freeze for CompiledBindingPathElementKind
impl RefUnwindSafe for CompiledBindingPathElementKind
impl Send for CompiledBindingPathElementKind
impl Sync for CompiledBindingPathElementKind
impl Unpin for CompiledBindingPathElementKind
impl UnsafeUnpin for CompiledBindingPathElementKind
impl UnwindSafe for CompiledBindingPathElementKind
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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