Enum turtle_syntax::Directive
source · [−]pub enum Directive<F> {
Prefix(Loc<String, F>, Loc<IriRefBuf, F>),
Base(Loc<IriRefBuf, F>),
SparqlPrefix(Loc<String, F>, Loc<IriRefBuf, F>),
SparqlBase(Loc<IriRefBuf, F>),
}
Expand description
A directive.
Variants
Prefix(Loc<String, F>, Loc<IriRefBuf, F>)
@prefix
directive.
Base(Loc<IriRefBuf, F>)
@base
directive.
SparqlPrefix(Loc<String, F>, Loc<IriRefBuf, F>)
SPARQL PREFIX
directive.
SparqlBase(Loc<IriRefBuf, F>)
SPARQL BASE
directive.
Auto Trait Implementations
impl<F> RefUnwindSafe for Directive<F> where
F: RefUnwindSafe,
impl<F> Send for Directive<F> where
F: Send,
impl<F> Sync for Directive<F> where
F: Sync,
impl<F> Unpin for Directive<F> where
F: Unpin,
impl<F> UnwindSafe for Directive<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more