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