Struct ink_analyzer_ir::ast::Param
source · pub struct Param { /* private fields */ }Implementations§
source§impl Param
impl Param
pub fn pat(&self) -> Option<Pat>
pub fn colon_token(&self) -> Option<SyntaxToken<RustLanguage>>
pub fn ty(&self) -> Option<Type>
pub fn dotdotdot_token(&self) -> Option<SyntaxToken<RustLanguage>>
Trait Implementations§
source§impl PartialEq for Param
impl PartialEq for Param
impl Eq for Param
impl StructuralEq for Param
impl StructuralPartialEq for Param
Auto Trait Implementations§
impl !RefUnwindSafe for Param
impl !Send for Param
impl !Sync for Param
impl Unpin for Param
impl !UnwindSafe for Param
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.