[−][src]Struct ra_ap_hir_ty::SubstsBuilder
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]
self,
debruijn: DebruijnIndex,
starting_from: usize
) -> Self
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]
fn clone(&self) -> SubstsBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SubstsBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for SubstsBuilder
impl Send for SubstsBuilder
impl Sync for SubstsBuilder
impl Unpin for SubstsBuilder
impl UnwindSafe for SubstsBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Cast for T
[src]
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
[src]
Self: CastTo<U>,
U: HasInterner,
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,