pub enum IniElementType {
Show 30 variants
Whitespace,
Newline,
Comment,
Error,
Eof,
LeftBrace,
RightBrace,
LeftBracket,
RightBracket,
DoubleLeftBracket,
DoubleRightBracket,
Comma,
Dot,
Equal,
Identifier,
String,
Integer,
Float,
Boolean,
DateTime,
Root,
Document,
Section,
Table,
ArrayOfTables,
KeyValue,
Key,
Value,
Array,
InlineTable,
}Variants§
Whitespace
Newline
Comment
Error
Eof
LeftBrace
RightBrace
LeftBracket
RightBracket
DoubleLeftBracket
DoubleRightBracket
Comma
Dot
Equal
Identifier
String
Integer
Float
Boolean
DateTime
Root
Document
Section
Table
ArrayOfTables
KeyValue
Key
Value
Array
InlineTable
Trait Implementations§
Source§impl Clone for IniElementType
impl Clone for IniElementType
Source§fn clone(&self) -> IniElementType
fn clone(&self) -> IniElementType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IniElementType
impl Debug for IniElementType
Source§impl<'de> Deserialize<'de> for IniElementType
impl<'de> Deserialize<'de> for IniElementType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ElementType for IniElementType
impl ElementType for IniElementType
Source§type Role = UniversalElementRole
type Role = UniversalElementRole
The associated role type for this element kind.
Source§fn is_role(&self, role: Self::Role) -> bool
fn is_role(&self, role: Self::Role) -> bool
Returns true if this element matches the specified language-specific role.
Source§fn is_universal(&self, role: UniversalElementRole) -> bool
fn is_universal(&self, role: UniversalElementRole) -> bool
Returns true if this element matches the specified universal role.
Source§impl From<IniTokenType> for IniElementType
impl From<IniTokenType> for IniElementType
Source§fn from(token: IniTokenType) -> Self
fn from(token: IniTokenType) -> Self
Converts to this type from the input type.
Source§impl Hash for IniElementType
impl Hash for IniElementType
Source§impl PartialEq for IniElementType
impl PartialEq for IniElementType
Source§impl Serialize for IniElementType
impl Serialize for IniElementType
impl Copy for IniElementType
impl Eq for IniElementType
impl StructuralPartialEq for IniElementType
Auto Trait Implementations§
impl Freeze for IniElementType
impl RefUnwindSafe for IniElementType
impl Send for IniElementType
impl Sync for IniElementType
impl Unpin for IniElementType
impl UnwindSafe for IniElementType
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