pub struct ExternalDecl { /* private fields */ }Implementations§
Source§impl ExternalDecl
impl ExternalDecl
pub fn identifier(&self) -> Option<Identifier>
pub fn name(&self) -> Option<String>
pub fn param_list(&self) -> Option<FunctionParamList>
Trait Implementations§
Source§impl AstNode for ExternalDecl
impl AstNode for ExternalDecl
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true if a node with the given kind can be cast to Self.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Try to cast a generic
SyntaxNode into this typed wrapper.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
Access the underlying
SyntaxNode.Source§impl Clone for ExternalDecl
impl Clone for ExternalDecl
Source§fn clone(&self) -> ExternalDecl
fn clone(&self) -> ExternalDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExternalDecl
impl Debug for ExternalDecl
Source§impl Display for ExternalDecl
impl Display for ExternalDecl
impl Eq for ExternalDecl
Source§impl Hash for ExternalDecl
impl Hash for ExternalDecl
Source§impl PartialEq for ExternalDecl
impl PartialEq for ExternalDecl
impl StructuralPartialEq for ExternalDecl
Auto Trait Implementations§
impl !RefUnwindSafe for ExternalDecl
impl !Send for ExternalDecl
impl !Sync for ExternalDecl
impl !UnwindSafe for ExternalDecl
impl Freeze for ExternalDecl
impl Unpin for ExternalDecl
impl UnsafeUnpin for ExternalDecl
Blanket Implementations§
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