Struct ra_ap_ide_db::call_info::ActiveParameter [−][src]
Fields
ty: Type
pat: Either<SelfParam, Pat>
Implementations
impl ActiveParameter
[src]
impl ActiveParameter
[src]pub fn at(db: &RootDatabase, position: FilePosition) -> Option<Self>
[src]
pub fn at_token(
sema: &Semantics<'_, RootDatabase>,
token: SyntaxToken
) -> Option<Self>
[src]
sema: &Semantics<'_, RootDatabase>,
token: SyntaxToken
) -> Option<Self>
pub fn ident(&self) -> Option<Name>
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ActiveParameter
impl !Send for ActiveParameter
impl !Sync for ActiveParameter
impl Unpin for ActiveParameter
impl !UnwindSafe for ActiveParameter
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Cast for T
impl<T> Cast for T
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Any for T where
T: Any,
T: Any,