Enum adapton::collection_edit::CursorEdit
[−]
[src]
pub enum CursorEdit<X, Dir> { Insert(Dir, X), Remove(Dir), Replace(Dir, X), Goto(Dir), }
Variants
Insert(Dir, X)
Remove(Dir)
Replace(Dir, X)
Goto(Dir)
Trait Implementations
impl<X: Clone, Dir: Clone> Clone for CursorEdit<X, Dir>
[src]
fn clone(&self) -> CursorEdit<X, Dir>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<X: Eq, Dir: Eq> Eq for CursorEdit<X, Dir>
[src]
impl<X: PartialEq, Dir: PartialEq> PartialEq for CursorEdit<X, Dir>
[src]
fn eq(&self, __arg_0: &CursorEdit<X, Dir>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CursorEdit<X, Dir>) -> bool
This method tests for !=
.
impl<X: Hash, Dir: Hash> Hash for CursorEdit<X, Dir>
[src]
fn hash<__HXDir: Hasher>(&self, __arg_0: &mut __HXDir)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.