Enum yaml_rust::scanner::TokenType [−][src]
pub enum TokenType { NoToken, StreamStart(TEncoding), StreamEnd, VersionDirective(u32, u32), TagDirective(String, String), DocumentStart, DocumentEnd, BlockSequenceStart, BlockMappingStart, BlockEnd, FlowSequenceStart, FlowSequenceEnd, FlowMappingStart, FlowMappingEnd, BlockEntry, FlowEntry, Key, Value, Alias(String), Anchor(String), Tag(String, String), Scalar(TScalarStyle, String), }
Variants
StreamStart(TEncoding)
major, minor
handle, prefix
Alias(String)
Anchor(String)
handle, suffix
Scalar(TScalarStyle, String)
Trait Implementations
impl Clone for TokenType
[src][+]
impl Debug for TokenType
[src][+]
impl Eq for TokenType
[src]
impl PartialEq<TokenType> for TokenType
[src][+]
impl StructuralEq for TokenType
[src]
impl StructuralPartialEq for TokenType
[src]
Auto Trait Implementations
impl RefUnwindSafe for TokenType
impl Send for TokenType
impl Sync for TokenType
impl Unpin for TokenType
impl UnwindSafe for TokenType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,