Struct ink_analyzer_ir::ast::SelfParam
source · pub struct SelfParam { /* private fields */ }Implementations§
source§impl SelfParam
impl SelfParam
pub fn amp_token(&self) -> Option<SyntaxToken<RustLanguage>>
pub fn lifetime(&self) -> Option<Lifetime>
pub fn mut_token(&self) -> Option<SyntaxToken<RustLanguage>>
pub fn colon_token(&self) -> Option<SyntaxToken<RustLanguage>>
pub fn ty(&self) -> Option<Type>
Trait Implementations§
source§impl PartialEq for SelfParam
impl PartialEq for SelfParam
impl Eq for SelfParam
impl StructuralEq for SelfParam
impl StructuralPartialEq for SelfParam
Auto Trait Implementations§
impl !RefUnwindSafe for SelfParam
impl !Send for SelfParam
impl !Sync for SelfParam
impl Unpin for SelfParam
impl !UnwindSafe for SelfParam
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> 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 Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.