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