pub struct BeforeValue { /* private fields */ }Implementations§
Source§impl BeforeValue
impl BeforeValue
pub fn literal(&self) -> Option<Literal>
pub fn before_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for BeforeValue
impl AstNode for BeforeValue
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for BeforeValue
impl Clone for BeforeValue
Source§fn clone(&self) -> BeforeValue
fn clone(&self) -> BeforeValue
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 moreSource§impl Debug for BeforeValue
impl Debug for BeforeValue
Source§impl From<BeforeValue> for ValuePosition
impl From<BeforeValue> for ValuePosition
Source§fn from(node: BeforeValue) -> ValuePosition
fn from(node: BeforeValue) -> ValuePosition
Converts to this type from the input type.
Source§impl Hash for BeforeValue
impl Hash for BeforeValue
Source§impl PartialEq for BeforeValue
impl PartialEq for BeforeValue
impl Eq for BeforeValue
impl StructuralPartialEq for BeforeValue
Auto Trait Implementations§
impl Freeze for BeforeValue
impl !RefUnwindSafe for BeforeValue
impl !Send for BeforeValue
impl !Sync for BeforeValue
impl Unpin for BeforeValue
impl UnsafeUnpin for BeforeValue
impl !UnwindSafe for BeforeValue
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