Struct ra_ap_syntax::ast::ConstArg
source · pub struct ConstArg { /* private fields */ }Implementations§
Trait Implementations§
source§impl AstNode for ConstArg
impl AstNode for ConstArg
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 From<ConstArg> for GenericArg
impl From<ConstArg> for GenericArg
source§fn from(node: ConstArg) -> GenericArg
fn from(node: ConstArg) -> GenericArg
Converts to this type from the input type.
source§impl PartialEq<ConstArg> for ConstArg
impl PartialEq<ConstArg> for ConstArg
impl Eq for ConstArg
impl StructuralEq for ConstArg
impl StructuralPartialEq for ConstArg
Auto Trait Implementations§
impl !RefUnwindSafe for ConstArg
impl !Send for ConstArg
impl !Sync for ConstArg
impl Unpin for ConstArg
impl !UnwindSafe for ConstArg
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<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.