pub struct StitchHeader { /* private fields */ }Implementations§
Source§impl StitchHeader
impl StitchHeader
pub fn identifier(&self) -> Option<Identifier>
pub fn name(&self) -> Option<String>
pub fn params(&self) -> Option<KnotParams>
Trait Implementations§
Source§impl AstNode for StitchHeader
impl AstNode for StitchHeader
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 StitchHeader
impl Clone for StitchHeader
Source§fn clone(&self) -> StitchHeader
fn clone(&self) -> StitchHeader
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 StitchHeader
impl Debug for StitchHeader
Source§impl Display for StitchHeader
impl Display for StitchHeader
impl Eq for StitchHeader
Source§impl Hash for StitchHeader
impl Hash for StitchHeader
Source§impl PartialEq for StitchHeader
impl PartialEq for StitchHeader
Source§fn eq(&self, other: &StitchHeader) -> bool
fn eq(&self, other: &StitchHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StitchHeader
Auto Trait Implementations§
impl !RefUnwindSafe for StitchHeader
impl !Send for StitchHeader
impl !Sync for StitchHeader
impl !UnwindSafe for StitchHeader
impl Freeze for StitchHeader
impl Unpin for StitchHeader
impl UnsafeUnpin for StitchHeader
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