Enum schema_ast::ast::SourcePosition
source · pub enum SourcePosition<'ast> {
Source,
Property(&'ast str, PropertyPosition<'ast>),
Outer,
}
Variants§
Source
In the general datasource
Property(&'ast str, PropertyPosition<'ast>)
In a property
Outer
Outside of the braces
Trait Implementations§
Auto Trait Implementations§
impl<'ast> RefUnwindSafe for SourcePosition<'ast>
impl<'ast> Send for SourcePosition<'ast>
impl<'ast> Sync for SourcePosition<'ast>
impl<'ast> Unpin for SourcePosition<'ast>
impl<'ast> UnwindSafe for SourcePosition<'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