Enum aper::NeverConflict
source · pub enum NeverConflict {}
Expand description
An unconstructable type, meant to serve as the Conflict
type of a StateMachine
for which a conflict can never arise.
This is similar to std::convert::Infallible
, but with some derives to allow
it to be used as a StateMachine::Conflict
.
Trait Implementations§
source§impl Clone for NeverConflict
impl Clone for NeverConflict
source§fn clone(&self) -> NeverConflict
fn clone(&self) -> NeverConflict
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 Debug for NeverConflict
impl Debug for NeverConflict
source§impl<'de> Deserialize<'de> for NeverConflict
impl<'de> Deserialize<'de> for NeverConflict
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for NeverConflict
impl PartialEq for NeverConflict
source§fn eq(&self, other: &NeverConflict) -> bool
fn eq(&self, other: &NeverConflict) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NeverConflict
impl Serialize for NeverConflict
impl StructuralPartialEq for NeverConflict
Auto Trait Implementations§
impl Freeze for NeverConflict
impl RefUnwindSafe for NeverConflict
impl Send for NeverConflict
impl Sync for NeverConflict
impl Unpin for NeverConflict
impl UnwindSafe for NeverConflict
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