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