pub enum AliasRelationDirection {
Equate,
Subtype,
}Variants§
Trait Implementations§
source§impl Clone for AliasRelationDirection
impl Clone for AliasRelationDirection
source§fn clone(&self) -> AliasRelationDirection
fn clone(&self) -> AliasRelationDirection
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 AliasRelationDirection
impl Debug for AliasRelationDirection
source§impl<__D: SpanDecoder> Decodable<__D> for AliasRelationDirection
impl<__D: SpanDecoder> Decodable<__D> for AliasRelationDirection
source§impl Display for AliasRelationDirection
impl Display for AliasRelationDirection
source§impl<__E: SpanEncoder> Encodable<__E> for AliasRelationDirection
impl<__E: SpanEncoder> Encodable<__E> for AliasRelationDirection
source§impl Hash for AliasRelationDirection
impl Hash for AliasRelationDirection
source§impl<__CTX> HashStable<__CTX> for AliasRelationDirection
impl<__CTX> HashStable<__CTX> for AliasRelationDirection
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
source§impl Ord for AliasRelationDirection
impl Ord for AliasRelationDirection
source§fn cmp(&self, other: &AliasRelationDirection) -> Ordering
fn cmp(&self, other: &AliasRelationDirection) -> 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 for AliasRelationDirection
impl PartialEq for AliasRelationDirection
source§fn eq(&self, other: &AliasRelationDirection) -> bool
fn eq(&self, other: &AliasRelationDirection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for AliasRelationDirection
impl PartialOrd for AliasRelationDirection
source§fn partial_cmp(&self, other: &AliasRelationDirection) -> Option<Ordering>
fn partial_cmp(&self, other: &AliasRelationDirection) -> 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 moresource§impl<I: Interner> TypeFoldable<I> for AliasRelationDirection
impl<I: Interner> TypeFoldable<I> for AliasRelationDirection
source§fn try_fold_with<F: FallibleTypeFolder<I>>(
self,
_: &mut F
) -> Result<Self, F::Error>
fn try_fold_with<F: FallibleTypeFolder<I>>( self, _: &mut F ) -> Result<Self, F::Error>
source§fn fold_with<F: TypeFolder<I>>(self, _: &mut F) -> Self
fn fold_with<F: TypeFolder<I>>(self, _: &mut F) -> Self
A convenient alternative to
try_fold_with for use with infallible
folders. Do not override this method, to ensure coherence with
try_fold_with.source§impl<I: Interner> TypeVisitable<I> for AliasRelationDirection
impl<I: Interner> TypeVisitable<I> for AliasRelationDirection
source§fn visit_with<F: TypeVisitor<I>>(&self, _: &mut F) -> ControlFlow<F::BreakTy>
fn visit_with<F: TypeVisitor<I>>(&self, _: &mut F) -> ControlFlow<F::BreakTy>
impl Copy for AliasRelationDirection
impl Eq for AliasRelationDirection
impl StructuralEq for AliasRelationDirection
impl StructuralPartialEq for AliasRelationDirection
Auto Trait Implementations§
impl RefUnwindSafe for AliasRelationDirection
impl Send for AliasRelationDirection
impl Sync for AliasRelationDirection
impl Unpin for AliasRelationDirection
impl UnwindSafe for AliasRelationDirection
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, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Equate: 0 bytesSubtype: 0 bytes