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