pub struct MapLiteral { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AstNode for MapLiteral
impl AstNode for MapLiteral
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 MapLiteral
impl Clone for MapLiteral
Source§fn clone(&self) -> MapLiteral
fn clone(&self) -> MapLiteral
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 MapLiteral
impl Debug for MapLiteral
Source§impl Display for MapLiteral
impl Display for MapLiteral
impl Eq for MapLiteral
Source§impl Hash for MapLiteral
impl Hash for MapLiteral
Source§impl PartialEq for MapLiteral
impl PartialEq for MapLiteral
impl StructuralPartialEq for MapLiteral
Auto Trait Implementations§
impl !RefUnwindSafe for MapLiteral
impl !Send for MapLiteral
impl !Sync for MapLiteral
impl !UnwindSafe for MapLiteral
impl Freeze for MapLiteral
impl Unpin for MapLiteral
impl UnsafeUnpin for MapLiteral
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