Struct wnf::UnspecifiedLifetime
source · pub struct UnspecifiedLifetime { /* private fields */ }
Expand description
A marker type for an unspecified lifetime when creating a state
The lifetime of a state must be specified upon its creation. When creating a state via a
StateCreation
, this is used as a type parameter to indicate that the lifetime has not been specified yet.
Trait Implementations§
source§impl Clone for UnspecifiedLifetime
impl Clone for UnspecifiedLifetime
source§fn clone(&self) -> UnspecifiedLifetime
fn clone(&self) -> UnspecifiedLifetime
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 UnspecifiedLifetime
impl Debug for UnspecifiedLifetime
source§impl Hash for UnspecifiedLifetime
impl Hash for UnspecifiedLifetime
source§impl Ord for UnspecifiedLifetime
impl Ord for UnspecifiedLifetime
source§fn cmp(&self, other: &UnspecifiedLifetime) -> Ordering
fn cmp(&self, other: &UnspecifiedLifetime) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<UnspecifiedLifetime> for UnspecifiedLifetime
impl PartialEq<UnspecifiedLifetime> for UnspecifiedLifetime
source§fn eq(&self, other: &UnspecifiedLifetime) -> bool
fn eq(&self, other: &UnspecifiedLifetime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<UnspecifiedLifetime> for UnspecifiedLifetime
impl PartialOrd<UnspecifiedLifetime> for UnspecifiedLifetime
source§fn partial_cmp(&self, other: &UnspecifiedLifetime) -> Option<Ordering>
fn partial_cmp(&self, other: &UnspecifiedLifetime) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more