[][src]Struct ra_ap_hir_ty::SubstsBuilder

pub struct SubstsBuilder { /* fields omitted */ }

Implementations

impl SubstsBuilder[src]

pub fn build(self) -> Substs[src]

pub fn push(self, ty: Ty) -> Self[src]

pub fn fill_with_bound_vars(
    self,
    debruijn: DebruijnIndex,
    starting_from: usize
) -> Self
[src]

pub fn fill_with_unknown(self) -> Self[src]

pub fn fill(self, filler: impl Iterator<Item = Ty>) -> Self[src]

pub fn use_parent_substs(self, parent_substs: &Substs) -> Self[src]

Trait Implementations

impl Clone for SubstsBuilder[src]

impl Debug for SubstsBuilder[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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> CloneAny for T where
    T: Clone + Any

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.