pub enum Event<'a, T> {
NodeAdded {
parent: &'a Node<T>,
added_idx: usize,
},
NodeRemoved {
parent: &'a Node<T>,
removed_idx: usize,
},
InfosChanged {
node: &'a Node<T>,
},
TextChanged {
node: &'a Node<T>,
},
}
Expand description
Change events which can happen in the tree.
Variants§
Auto Trait Implementations§
impl<'a, T> Freeze for Event<'a, T>
impl<'a, T> !RefUnwindSafe for Event<'a, T>
impl<'a, T> !Send for Event<'a, T>
impl<'a, T> !Sync for Event<'a, T>
impl<'a, T> Unpin for Event<'a, T>
impl<'a, T> !UnwindSafe for Event<'a, T>
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