Enum parser_database::ast::FieldPosition
source · pub enum FieldPosition<'ast> {
Field,
Attribute(&'ast str, usize, Option<&'ast str>),
}
Expand description
In a scalar field.
Variants§
Field
Nowhere specific inside the field
Attribute(&'ast str, usize, Option<&'ast str>)
In an attribute. (name, idx, optional arg)
Trait Implementations§
Auto Trait Implementations§
impl<'ast> RefUnwindSafe for FieldPosition<'ast>
impl<'ast> Send for FieldPosition<'ast>
impl<'ast> Sync for FieldPosition<'ast>
impl<'ast> Unpin for FieldPosition<'ast>
impl<'ast> UnwindSafe for FieldPosition<'ast>
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