pub struct ExpressionTrackedObjects { /* private fields */ }Expand description
The distinct objects an expression reads from, in the order they were first added.
Implementations§
Source§impl ExpressionTrackedObjects
impl ExpressionTrackedObjects
Sourcepub fn add(&mut self, obj: &dyn IExpressionObject, member: &str)
pub fn add(&mut self, obj: &dyn IExpressionObject, member: &str)
Tracks an object. The member name is not recorded.
Sourcepub fn add_key(&mut self, obj: ExpressionObjectKey, _member: &str)
pub fn add_key(&mut self, obj: ExpressionObjectKey, _member: &str)
Tracks an object given by its identity key.
Sourcepub fn iter(&self) -> Iter<'_, ExpressionObjectKey> ⓘ
pub fn iter(&self) -> Iter<'_, ExpressionObjectKey> ⓘ
Enumerates the tracked objects in the order they were first added.
Trait Implementations§
Source§impl Clone for ExpressionTrackedObjects
impl Clone for ExpressionTrackedObjects
Source§impl Debug for ExpressionTrackedObjects
impl Debug for ExpressionTrackedObjects
Source§impl Default for ExpressionTrackedObjects
impl Default for ExpressionTrackedObjects
Source§impl<'a> IntoIterator for &'a ExpressionTrackedObjects
impl<'a> IntoIterator for &'a ExpressionTrackedObjects
Auto Trait Implementations§
impl Freeze for ExpressionTrackedObjects
impl RefUnwindSafe for ExpressionTrackedObjects
impl Send for ExpressionTrackedObjects
impl Sync for ExpressionTrackedObjects
impl Unpin for ExpressionTrackedObjects
impl UnsafeUnpin for ExpressionTrackedObjects
impl UnwindSafe for ExpressionTrackedObjects
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