[][src]Enum ss_trees::tree::InsertOp

pub enum InsertOp<M> {
    InsertBefore {
        new: Vec<M>,
        old: M,
    },
    InsertAfter {
        new: Vec<M>,
        old: M,
    },
    Swap {
        parent: M,
        current: M,
        target: M,
    },
    Append {
        parent: M,
        new: Vec<M>,
    },
}

Variants

InsertBefore

Fields of InsertBefore

new: Vec<M>old: M
InsertAfter

Fields of InsertAfter

new: Vec<M>old: M
Swap

Fields of Swap

parent: Mcurrent: Mtarget: M
Append

Fields of Append

parent: Mnew: Vec<M>

Trait Implementations

impl<M: Clone> Clone for InsertOp<M>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<M: Debug> Debug for InsertOp<M>[src]

Auto Trait Implementations

impl<M> Send for InsertOp<M> where
    M: Send

impl<M> Sync for InsertOp<M> where
    M: Sync

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]