pub enum ChangeFrame {
PropertyChanged {
path: Vec<u32>,
name: String,
value: Value,
},
PropertyRemoved {
path: Vec<u32>,
name: String,
},
ChildAdded {
path: Vec<u32>,
index: u32,
subtree: Node,
},
ChildRemoved {
path: Vec<u32>,
old_index: u32,
},
ChildMoved {
path: Vec<u32>,
old_index: u32,
new_index: u32,
},
FullSync {
root: Node,
},
}Expand description
A decoded ValueTree change frame.
Variants§
Implementations§
Source§impl ChangeFrame
impl ChangeFrame
Trait Implementations§
Source§impl Clone for ChangeFrame
impl Clone for ChangeFrame
Source§impl Debug for ChangeFrame
impl Debug for ChangeFrame
Source§impl PartialEq for ChangeFrame
impl PartialEq for ChangeFrame
impl StructuralPartialEq for ChangeFrame
Auto Trait Implementations§
impl Freeze for ChangeFrame
impl RefUnwindSafe for ChangeFrame
impl Send for ChangeFrame
impl Sync for ChangeFrame
impl Unpin for ChangeFrame
impl UnsafeUnpin for ChangeFrame
impl UnwindSafe for ChangeFrame
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