Struct ra_ap_syntax::ast::LifetimeParam
source · pub struct LifetimeParam { /* private fields */ }Implementations§
source§impl LifetimeParam
impl LifetimeParam
pub fn lifetime_bounds(&self) -> impl Iterator<Item = SyntaxToken>
Trait Implementations§
source§impl AstNode for LifetimeParam
impl AstNode for LifetimeParam
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 LifetimeParam
impl Clone for LifetimeParam
source§fn clone(&self) -> LifetimeParam
fn clone(&self) -> LifetimeParam
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 LifetimeParam
impl Debug for LifetimeParam
source§impl Display for LifetimeParam
impl Display for LifetimeParam
source§impl From<LifetimeParam> for GenericParam
impl From<LifetimeParam> for GenericParam
source§fn from(node: LifetimeParam) -> GenericParam
fn from(node: LifetimeParam) -> GenericParam
Converts to this type from the input type.
source§impl HasAttrs for LifetimeParam
impl HasAttrs for LifetimeParam
source§impl HasTypeBounds for LifetimeParam
impl HasTypeBounds for LifetimeParam
fn type_bound_list(&self) -> Option<TypeBoundList>
fn colon_token(&self) -> Option<SyntaxToken>
source§impl Hash for LifetimeParam
impl Hash for LifetimeParam
source§impl PartialEq for LifetimeParam
impl PartialEq for LifetimeParam
source§fn eq(&self, other: &LifetimeParam) -> bool
fn eq(&self, other: &LifetimeParam) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for LifetimeParam
impl StructuralEq for LifetimeParam
impl StructuralPartialEq for LifetimeParam
Auto Trait Implementations§
impl !RefUnwindSafe for LifetimeParam
impl !Send for LifetimeParam
impl !Sync for LifetimeParam
impl Unpin for LifetimeParam
impl !UnwindSafe for LifetimeParam
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> AttrsOwnerEdit for Twhere
T: HasAttrs,
impl<T> AttrsOwnerEdit for Twhere T: HasAttrs,
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.