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 StructuralEq for LifetimeArg
impl StructuralPartialEq for LifetimeArg
Auto Trait Implementations§
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 Nwhere
N: AstNode + Clone,
impl<N> AstNodeEdit for Nwhere N: AstNode + Clone,
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.