pub struct LiteralType(/* private fields */);
Implementations§
Source§impl LiteralType
impl LiteralType
pub fn value(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for LiteralType
impl AstNode for LiteralType
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
Source§impl Clone for LiteralType
impl Clone for LiteralType
Source§fn clone(&self) -> LiteralType
fn clone(&self) -> LiteralType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LiteralType
impl !RefUnwindSafe for LiteralType
impl !Send for LiteralType
impl !Sync for LiteralType
impl Unpin for LiteralType
impl !UnwindSafe for LiteralType
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