pub enum Token {
Show 20 variants
Comment(String),
Literal(String),
LiteralWithUrlDatatype(String, String),
LiteralWithQNameDatatype(String, String, String),
LiteralWithLanguageSpecification(String, String),
Uri(String),
BlankNode(String),
TripleDelimiter,
PrefixDirective(String, String),
BaseDirective(String),
QName(String, String),
Prefix(String),
KeywordA,
PredicateListDelimiter,
ObjectListDelimiter,
CollectionStart,
CollectionEnd,
UnlabeledBlankNodeStart,
UnlabeledBlankNodeEnd,
EndOfInput,
}
Expand description
Tokens are produces by RDF lexers.
Variants§
Comment(String)
Literal(String)
LiteralWithUrlDatatype(String, String)
LiteralWithQNameDatatype(String, String, String)
LiteralWithLanguageSpecification(String, String)
Uri(String)
BlankNode(String)
TripleDelimiter
PrefixDirective(String, String)
BaseDirective(String)
QName(String, String)
Prefix(String)
KeywordA
PredicateListDelimiter
ObjectListDelimiter
CollectionStart
CollectionEnd
UnlabeledBlankNodeStart
UnlabeledBlankNodeEnd
EndOfInput
Trait Implementations§
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)