pub enum SpecChange<S> where
S: Spec, {
Add(S),
Mod(S, S),
Delete(S),
}
Expand description
change in spec
Variants
Add(S)
Mod(S, S)
Delete(S)
Trait Implementations
sourceimpl<S> Clone for SpecChange<S> where
S: Clone + Spec,
impl<S> Clone for SpecChange<S> where
S: Clone + Spec,
sourcefn clone(&self) -> SpecChange<S>
fn clone(&self) -> SpecChange<S>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<S> Debug for SpecChange<S> where
S: Debug + Spec,
impl<S> Debug for SpecChange<S> where
S: Debug + Spec,
sourceimpl<S, C> From<LSChange<S, C>> for SpecChange<S> where
S: Spec,
C: MetadataItem,
<S as Spec>::Status: PartialEq<<S as Spec>::Status>,
impl<S, C> From<LSChange<S, C>> for SpecChange<S> where
S: Spec,
C: MetadataItem,
<S as Spec>::Status: PartialEq<<S as Spec>::Status>,
sourcefn from(meta: LSChange<S, C>) -> SpecChange<S>
fn from(meta: LSChange<S, C>) -> SpecChange<S>
Converts to this type from the input type.
sourceimpl<S> PartialEq<SpecChange<S>> for SpecChange<S> where
S: PartialEq<S> + Spec,
impl<S> PartialEq<SpecChange<S>> for SpecChange<S> where
S: PartialEq<S> + Spec,
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SpecChange<S>) -> bool
fn ne(&self, other: &SpecChange<S>) -> bool
This method tests for !=
.
impl<S> StructuralPartialEq for SpecChange<S> where
S: Spec,
Auto Trait Implementations
impl<S> RefUnwindSafe for SpecChange<S> where
S: RefUnwindSafe,
impl<S> Send for SpecChange<S> where
S: Send,
impl<S> Sync for SpecChange<S> where
S: Sync,
impl<S> Unpin for SpecChange<S> where
S: Unpin,
impl<S> UnwindSafe for SpecChange<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more