pub struct CompiledBindingPath { /* private fields */ }Expand description
The path of a compiled binding: a sequence of typed accessors, built without any lookup by name.
A path is a reference object: clones refer to the same path and compare by identity.
Implementations§
Source§impl CompiledBindingPath
impl CompiledBindingPath
Sourcepub fn elements(
&self,
) -> impl ExactSizeIterator<Item = CompiledBindingPathElement<'_>> + '_
pub fn elements( &self, ) -> impl ExactSizeIterator<Item = CompiledBindingPathElement<'_>> + '_
The elements of the path, in order (the Elements of the managed
original, as a read-only view).
Sourcepub fn element(&self, index: usize) -> Option<CompiledBindingPathElement<'_>>
pub fn element(&self, index: usize) -> Option<CompiledBindingPathElement<'_>>
The element at index.
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for CompiledBindingPath
impl Clone for CompiledBindingPath
Source§impl Default for CompiledBindingPath
impl Default for CompiledBindingPath
Source§impl Display for CompiledBindingPath
impl Display for CompiledBindingPath
Source§impl MarkupTyped for CompiledBindingPath
impl MarkupTyped for CompiledBindingPath
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Auto Trait Implementations§
impl !RefUnwindSafe for CompiledBindingPath
impl !Send for CompiledBindingPath
impl !Sync for CompiledBindingPath
impl !UnwindSafe for CompiledBindingPath
impl Freeze for CompiledBindingPath
impl Unpin for CompiledBindingPath
impl UnsafeUnpin for CompiledBindingPath
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