pub enum Identity<'a> {
Auto,
Label(&'a str),
Index(u64),
}Expand description
Which key a prop list opens its node under: the next auto key, the
key label, or — beating the label when a binding is handed both — the
index a virtual list opens its rows by.
Variants§
Trait Implementations§
impl<'a> Copy for Identity<'a>
impl<'a> StructuralPartialEq for Identity<'a>
Auto Trait Implementations§
impl<'a> Freeze for Identity<'a>
impl<'a> RefUnwindSafe for Identity<'a>
impl<'a> Send for Identity<'a>
impl<'a> Sync for Identity<'a>
impl<'a> Unpin for Identity<'a>
impl<'a> UnsafeUnpin for Identity<'a>
impl<'a> UnwindSafe for Identity<'a>
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