Struct ra_ap_syntax::ast::LifetimeArg
source · pub struct LifetimeArg { /* private fields */ }
Implementations§
Trait Implementations§
source§impl AstNode for LifetimeArg
impl AstNode for LifetimeArg
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
source§impl Clone for LifetimeArg
impl Clone for LifetimeArg
source§fn clone(&self) -> LifetimeArg
fn clone(&self) -> LifetimeArg
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LifetimeArg
impl Debug for LifetimeArg
source§impl Display for LifetimeArg
impl Display for LifetimeArg
source§impl From<LifetimeArg> for GenericArg
impl From<LifetimeArg> for GenericArg
source§fn from(node: LifetimeArg) -> GenericArg
fn from(node: LifetimeArg) -> GenericArg
Converts to this type from the input type.
source§impl Hash for LifetimeArg
impl Hash for LifetimeArg
source§impl PartialEq for LifetimeArg
impl PartialEq for LifetimeArg
source§fn eq(&self, other: &LifetimeArg) -> bool
fn eq(&self, other: &LifetimeArg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LifetimeArg
impl StructuralPartialEq for LifetimeArg
Auto Trait Implementations§
impl Freeze for LifetimeArg
impl !RefUnwindSafe for LifetimeArg
impl !Send for LifetimeArg
impl !Sync for LifetimeArg
impl Unpin for LifetimeArg
impl !UnwindSafe for LifetimeArg
Blanket Implementations§
source§impl<N> AstNodeEdit for N
impl<N> AstNodeEdit for N
fn indent_level(&self) -> IndentLevel
fn indent(&self, level: IndentLevel) -> Self
fn dedent(&self, level: IndentLevel) -> Self
fn reset_indent(&self) -> Self
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.