pub struct Declare { /* private fields */ }
Implementations§
Source§impl Declare
impl Declare
pub fn declare_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for Declare
impl AstNode for Declare
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,
impl Eq for Declare
impl StructuralPartialEq for Declare
Auto Trait Implementations§
impl Freeze for Declare
impl !RefUnwindSafe for Declare
impl !Send for Declare
impl !Sync for Declare
impl Unpin for Declare
impl !UnwindSafe for Declare
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