pub enum ValuePosition {
AfterValue(AfterValue),
BeforeValue(BeforeValue),
}Variants§
AfterValue(AfterValue)
BeforeValue(BeforeValue)
Trait Implementations§
Source§impl AstNode for ValuePosition
impl AstNode for ValuePosition
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 ValuePosition
impl Clone for ValuePosition
Source§fn clone(&self) -> ValuePosition
fn clone(&self) -> ValuePosition
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 ValuePosition
impl Debug for ValuePosition
Source§impl From<AfterValue> for ValuePosition
impl From<AfterValue> for ValuePosition
Source§fn from(node: AfterValue) -> ValuePosition
fn from(node: AfterValue) -> ValuePosition
Converts to this type from the input type.
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 ValuePosition
impl Hash for ValuePosition
Source§impl PartialEq for ValuePosition
impl PartialEq for ValuePosition
impl Eq for ValuePosition
impl StructuralPartialEq for ValuePosition
Auto Trait Implementations§
impl Freeze for ValuePosition
impl !RefUnwindSafe for ValuePosition
impl !Send for ValuePosition
impl !Sync for ValuePosition
impl Unpin for ValuePosition
impl UnsafeUnpin for ValuePosition
impl !UnwindSafe for ValuePosition
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