pub struct FlatChange {
pub path: Vec<PathSeg>,
pub op: FlatOp,
}Expand description
One flat change: the root→leaf parent path, then the op applied at the reached
level. An empty path means the op applies at the top level.
Fields§
§path: Vec<PathSeg>§op: FlatOpTrait Implementations§
Source§impl Clone for FlatChange
impl Clone for FlatChange
Source§fn clone(&self) -> FlatChange
fn clone(&self) -> FlatChange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlatChange
impl Debug for FlatChange
Source§impl<'de> Deserialize<'de> for FlatChange
impl<'de> Deserialize<'de> for FlatChange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FlatChange
impl RefUnwindSafe for FlatChange
impl Send for FlatChange
impl Sync for FlatChange
impl Unpin for FlatChange
impl UnsafeUnpin for FlatChange
impl UnwindSafe for FlatChange
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