pub struct TypedItems<'a, T>(pub &'a [T]);Expand description
The typed items of a change, viewed as untyped items by
ItemsView::from_typed. Each item is boxed when it is read (no
allocation when T is BoxedValue or Option<BoxedValue>).
Tuple Fields§
§0: &'a [T]Auto Trait Implementations§
impl<'a, T> Freeze for TypedItems<'a, T>
impl<'a, T> RefUnwindSafe for TypedItems<'a, T>where
&'a [T]: RefUnwindSafe,
impl<'a, T> Send for TypedItems<'a, T>
impl<'a, T> Sync for TypedItems<'a, T>
impl<'a, T> Unpin for TypedItems<'a, T>
impl<'a, T> UnsafeUnpin for TypedItems<'a, T>where
&'a [T]: UnsafeUnpin,
impl<'a, T> UnwindSafe for TypedItems<'a, T>where
&'a [T]: UnwindSafe,
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