pub enum ContentPatch {
Overwrite(Content),
PatchString(Vec<StringPatch>),
AddInteger(u64),
AddFloat(f64),
}Variants§
Trait Implementations§
Source§impl Clone for ContentPatch
impl Clone for ContentPatch
Source§fn clone(&self) -> ContentPatch
fn clone(&self) -> ContentPatch
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 ContentPatch
impl Debug for ContentPatch
Source§impl PartialEq for ContentPatch
impl PartialEq for ContentPatch
impl Eq for ContentPatch
impl StructuralPartialEq for ContentPatch
Auto Trait Implementations§
impl Freeze for ContentPatch
impl RefUnwindSafe for ContentPatch
impl Send for ContentPatch
impl Sync for ContentPatch
impl Unpin for ContentPatch
impl UnwindSafe for ContentPatch
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