pub struct StringEntry { /* private fields */ }Expand description
An @string{ name = value } macro definition.
Implementations§
Trait Implementations§
Source§impl AstNode for StringEntry
impl AstNode for StringEntry
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
Source§impl Clone for StringEntry
impl Clone for StringEntry
Source§fn clone(&self) -> StringEntry
fn clone(&self) -> StringEntry
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 StringEntry
impl Debug for StringEntry
impl Eq for StringEntry
Source§impl Hash for StringEntry
impl Hash for StringEntry
Source§impl PartialEq for StringEntry
impl PartialEq for StringEntry
impl StructuralPartialEq for StringEntry
Auto Trait Implementations§
impl !RefUnwindSafe for StringEntry
impl !Send for StringEntry
impl !Sync for StringEntry
impl !UnwindSafe for StringEntry
impl Freeze for StringEntry
impl Unpin for StringEntry
impl UnsafeUnpin for StringEntry
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