[][src]Struct chalk_ir::CanonicalVarKinds

pub struct CanonicalVarKinds<I: Interner> { /* fields omitted */ }

Implementations

impl<I: Interner> CanonicalVarKinds<I>[src]

pub fn new(interner: &I) -> Self[src]

pub fn interned(&self) -> &I::InternedCanonicalVarKinds[src]

pub fn from(
    interner: &I,
    variable_kinds: impl IntoIterator<Item = CanonicalVarKind<I>>
) -> Self
[src]

pub fn from_fallible<E>(
    interner: &I,
    variable_kinds: impl IntoIterator<Item = Result<CanonicalVarKind<I>, E>>
) -> Result<Self, E>
[src]

pub fn iter(&self, interner: &I) -> Iter<CanonicalVarKind<I>>[src]

pub fn is_empty(&self, interner: &I) -> bool[src]

pub fn len(&self, interner: &I) -> usize[src]

pub fn as_slice(&self, interner: &I) -> &[CanonicalVarKind<I>][src]

Trait Implementations

impl<I: Interner> CastTo<CanonicalVarKinds<I>> for CanonicalVarKinds<I>[src]

impl<I: Clone + Interner> Clone for CanonicalVarKinds<I> where
    I::InternedCanonicalVarKinds: Clone
[src]

impl<I: Copy + Interner> Copy for CanonicalVarKinds<I> where
    I::InternedCanonicalVarKinds: Copy
[src]

impl<I: Interner> Debug for CanonicalVarKinds<I>[src]

impl<I: Eq + Interner> Eq for CanonicalVarKinds<I> where
    I::InternedCanonicalVarKinds: Eq
[src]

impl<I: Interner> HasInterner for CanonicalVarKinds<I>[src]

type Interner = I

impl<I: Hash + Interner> Hash for CanonicalVarKinds<I> where
    I::InternedCanonicalVarKinds: Hash
[src]

impl<I: Ord + Interner> Ord for CanonicalVarKinds<I> where
    I::InternedCanonicalVarKinds: Ord
[src]

impl<I: PartialEq + Interner> PartialEq<CanonicalVarKinds<I>> for CanonicalVarKinds<I> where
    I::InternedCanonicalVarKinds: PartialEq
[src]

impl<I: PartialOrd + Interner> PartialOrd<CanonicalVarKinds<I>> for CanonicalVarKinds<I> where
    I::InternedCanonicalVarKinds: PartialOrd
[src]

impl<I: Interner> StructuralEq for CanonicalVarKinds<I>[src]

impl<I: Interner> StructuralPartialEq for CanonicalVarKinds<I>[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for CanonicalVarKinds<I> where
    <I as Interner>::InternedCanonicalVarKinds: RefUnwindSafe

impl<I> Send for CanonicalVarKinds<I> where
    <I as Interner>::InternedCanonicalVarKinds: Send

impl<I> Sync for CanonicalVarKinds<I> where
    <I as Interner>::InternedCanonicalVarKinds: Sync

impl<I> Unpin for CanonicalVarKinds<I> where
    <I as Interner>::InternedCanonicalVarKinds: Unpin

impl<I> UnwindSafe for CanonicalVarKinds<I> where
    <I as Interner>::InternedCanonicalVarKinds: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Cast for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.