pub enum SpecChange<S>where
S: Spec,{
Add(S),
Mod(S, S),
Delete(S),
}
Expand description
change in spec
Variants§
Trait Implementations§
source§impl<S> Clone for SpecChange<S>
impl<S> Clone for SpecChange<S>
source§fn clone(&self) -> SpecChange<S>
fn clone(&self) -> SpecChange<S>
Returns a copy 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<S> Debug for SpecChange<S>
impl<S> Debug for SpecChange<S>
source§impl<S, C> From<LSChange<S, C>> for SpecChange<S>
impl<S, C> From<LSChange<S, C>> for SpecChange<S>
source§fn from(meta: LSChange<S, C>) -> SpecChange<S>
fn from(meta: LSChange<S, C>) -> SpecChange<S>
Converts to this type from the input type.
source§impl<S> PartialEq for SpecChange<S>
impl<S> PartialEq for SpecChange<S>
source§fn eq(&self, other: &SpecChange<S>) -> bool
fn eq(&self, other: &SpecChange<S>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<S> Eq for SpecChange<S>
impl<S> StructuralPartialEq for SpecChange<S>where
S: Spec,
Auto Trait Implementations§
impl<S> Freeze for SpecChange<S>where
S: Freeze,
impl<S> RefUnwindSafe for SpecChange<S>where
S: RefUnwindSafe,
impl<S> Send for SpecChange<S>
impl<S> Sync for SpecChange<S>
impl<S> Unpin for SpecChange<S>where
S: Unpin,
impl<S> UnwindSafe for SpecChange<S>where
S: UnwindSafe,
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.