[−][src]Struct ra_ap_assists::ast_transform::SubstituteTypeParams
Implementations
impl<'a> SubstituteTypeParams<'a>
[src]
pub fn for_trait_impl(
source_scope: &'a SemanticsScope<'a>,
trait_: Trait,
impl_def: Impl
) -> SubstituteTypeParams<'a>
[src]
source_scope: &'a SemanticsScope<'a>,
trait_: Trait,
impl_def: Impl
) -> SubstituteTypeParams<'a>
Trait Implementations
impl<'a> AstTransform<'a> for SubstituteTypeParams<'a>
[src]
fn get_substitution(&self, node: &SyntaxNode) -> Option<SyntaxNode>
[src]
fn chain_before(
self,
other: Box<dyn AstTransform<'a> + 'a>
) -> Box<dyn AstTransform<'a> + 'a>
[src]
self,
other: Box<dyn AstTransform<'a> + 'a>
) -> Box<dyn AstTransform<'a> + 'a>
fn or<T: AstTransform<'a> + 'a>(
self,
other: T
) -> Box<dyn AstTransform<'a> + 'a> where
Self: Sized + 'a,
[src]
self,
other: T
) -> Box<dyn AstTransform<'a> + 'a> where
Self: Sized + 'a,
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SubstituteTypeParams<'a>
impl<'a> !Send for SubstituteTypeParams<'a>
impl<'a> !Sync for SubstituteTypeParams<'a>
impl<'a> Unpin for SubstituteTypeParams<'a>
impl<'a> !UnwindSafe for SubstituteTypeParams<'a>
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
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Self: CastTo<U>,
U: HasInterner,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,