pub struct DeclareItem { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AstNode for DeclareItem
impl AstNode for DeclareItem
fn can_cast(kind: SyntaxKind) -> bool
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
Source§impl Clone for DeclareItem
impl Clone for DeclareItem
Source§fn clone(&self) -> DeclareItem
fn clone(&self) -> DeclareItem
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 DeclareItem
impl Debug for DeclareItem
impl Eq for DeclareItem
Source§impl Hash for DeclareItem
impl Hash for DeclareItem
Source§impl PartialEq for DeclareItem
impl PartialEq for DeclareItem
impl StructuralPartialEq for DeclareItem
Auto Trait Implementations§
impl !RefUnwindSafe for DeclareItem
impl !Send for DeclareItem
impl !Sync for DeclareItem
impl !UnwindSafe for DeclareItem
impl Freeze for DeclareItem
impl Unpin for DeclareItem
impl UnsafeUnpin for DeclareItem
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