pub enum Value {
Integer(Integer),
Boolean(Boolean),
QuotedString(QuotedString),
LineString(LineString),
BlockString(BlockString),
}Variants§
Integer(Integer)
Boolean(Boolean)
QuotedString(QuotedString)
LineString(LineString)
BlockString(BlockString)
Trait Implementations§
Source§impl AstNode for Value
impl AstNode for Value
type Language = MicalLanguage
fn can_cast(kind: <Self::Language as Language>::Kind) -> bool
fn cast(node: SyntaxNode<Self::Language>) -> Option<Self>
fn syntax(&self) -> &SyntaxNode<Self::Language>
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for Value
impl !RefUnwindSafe for Value
impl !Send for Value
impl !Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl !UnwindSafe for Value
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