pub enum SequenceOrdering {
Unordered = 0,
Ordered = 1,
}Variants§
Implementations§
Source§impl SequenceOrdering
impl SequenceOrdering
Sourcepub fn strict_sequencing(&self) -> Sequencing
pub fn strict_sequencing(&self) -> Sequencing
The sequencing requirement that guarantees this ordering
Sourcepub fn minimum_sequencing(&self) -> Sequencing
pub fn minimum_sequencing(&self) -> Sequencing
The lowest sequencing requirement that matches this ordering
Sourcepub fn maximum_sequencing(&self) -> Sequencing
pub fn maximum_sequencing(&self) -> Sequencing
The highest sequencing requirement that allows this ordering
Trait Implementations§
Source§impl<O: Into<EnumSet<SequenceOrdering>>> BitAnd<O> for SequenceOrdering
impl<O: Into<EnumSet<SequenceOrdering>>> BitAnd<O> for SequenceOrdering
Source§impl<O: Into<EnumSet<SequenceOrdering>>> BitOr<O> for SequenceOrdering
impl<O: Into<EnumSet<SequenceOrdering>>> BitOr<O> for SequenceOrdering
Source§impl<O: Into<EnumSet<SequenceOrdering>>> BitXor<O> for SequenceOrdering
impl<O: Into<EnumSet<SequenceOrdering>>> BitXor<O> for SequenceOrdering
Source§impl Clone for SequenceOrdering
impl Clone for SequenceOrdering
Source§impl Debug for SequenceOrdering
impl Debug for SequenceOrdering
Source§impl<'de> Deserialize<'de> for SequenceOrdering
impl<'de> Deserialize<'de> for SequenceOrdering
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 EnumSetConstHelper for SequenceOrdering
impl EnumSetConstHelper for SequenceOrdering
Source§const CONST_INIT_HELPER: __EnumSetInitHelper = __EnumSetInitHelper
const CONST_INIT_HELPER: __EnumSetInitHelper = __EnumSetInitHelper
The instance of the
ConstInitHelper.Source§const CONST_OP_HELPER: __EnumSetOpHelper = __EnumSetOpHelper
const CONST_OP_HELPER: __EnumSetOpHelper = __EnumSetOpHelper
The instance of the
ConstOpHelper.Source§type ConstInitHelper = __EnumSetInitHelper
type ConstInitHelper = __EnumSetInitHelper
A helper type used to convert values to EnumSets at compile-time.
Source§type ConstOpHelper = __EnumSetOpHelper
type ConstOpHelper = __EnumSetOpHelper
A helper type used to implement compile-time operations on enums.
Source§impl EnumSetTypePrivate for SequenceOrdering
impl EnumSetTypePrivate for SequenceOrdering
Source§const VARIANT_COUNT: u32 = 2u32
const VARIANT_COUNT: u32 = 2u32
The number of variants in the bitset.
Source§fn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
Source§unsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.
Source§fn serialize<S: Serializer>(
set: EnumSet<SequenceOrdering>,
ser: S,
) -> Result<S::Ok, S::Error>
fn serialize<S: Serializer>( set: EnumSet<SequenceOrdering>, ser: S, ) -> Result<S::Ok, S::Error>
Serializes the
EnumSet. Read moreSource§fn deserialize<'de, D: Deserializer<'de>>(
de: D,
) -> Result<EnumSet<SequenceOrdering>, D::Error>
fn deserialize<'de, D: Deserializer<'de>>( de: D, ) -> Result<EnumSet<SequenceOrdering>, D::Error>
Deserializes the
EnumSet.Source§unsafe fn enum_from_u32_checked(val: u32) -> Self
unsafe fn enum_from_u32_checked(val: u32) -> Self
Converts a bit position into an enum value, with an debug_assert.
Source§impl Hash for SequenceOrdering
impl Hash for SequenceOrdering
Source§impl JsonSchema for SequenceOrdering
impl JsonSchema for SequenceOrdering
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Not for SequenceOrdering
impl Not for SequenceOrdering
Source§impl Ord for SequenceOrdering
impl Ord for SequenceOrdering
Source§fn cmp(&self, other: &SequenceOrdering) -> Ordering
fn cmp(&self, other: &SequenceOrdering) -> 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<EnumSet<SequenceOrdering>> for SequenceOrdering
impl PartialEq<EnumSet<SequenceOrdering>> for SequenceOrdering
Source§impl PartialEq for SequenceOrdering
impl PartialEq for SequenceOrdering
Source§impl PartialOrd for SequenceOrdering
impl PartialOrd for SequenceOrdering
Source§impl Serialize for SequenceOrdering
impl Serialize for SequenceOrdering
Source§impl<O: Into<EnumSet<SequenceOrdering>>> Sub<O> for SequenceOrdering
impl<O: Into<EnumSet<SequenceOrdering>>> Sub<O> for SequenceOrdering
impl Copy for SequenceOrdering
impl EnumSetType for SequenceOrdering
impl Eq for SequenceOrdering
Auto Trait Implementations§
impl Freeze for SequenceOrdering
impl RefUnwindSafe for SequenceOrdering
impl Send for SequenceOrdering
impl Sync for SequenceOrdering
impl Unpin for SequenceOrdering
impl UnwindSafe for SequenceOrdering
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CmpAssign for Twhere
T: Ord,
impl<T> CmpAssign for Twhere
T: Ord,
fn min_assign(&mut self, other: T)
fn max_assign(&mut self, other: T)
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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§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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more