Enum ditto::list::LocalOp
[−]
[src]
pub enum LocalOp<T> { Insert { idx: usize, value: T, }, Remove { idx: usize, }, }
Variants
Insert
Fields of Insert
idx: usize | |
value: T |
Remove
Fields of Remove
idx: usize |
Trait Implementations
impl<T: Debug> Debug for LocalOp<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: Clone> Clone for LocalOp<T>
[src]
fn clone(&self) -> LocalOp<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more