[−][src]Enum webidl::Token
An enum of all possible tokens allowed by the
WebIDL grammar A token in this case is a
terminal, either a static string or regular expression based token. Note that not all possible
simplifications are made such as converting the True
and False
tokens to actual booleans.
This choice was made to be as consistent as possible with the WebIDL grammar.
Variants
Any
ArrayBuffer
Attribute
Boolean
Byte
ByteString
Callback
Const
DataView
Deleter
Dictionary
DOMString
Double
Enum
Error
False
Float
Float32Array
Float64Array
FrozenArray
Getter
Implements
Includes
Inherit
Int16Array
Int32Array
Int8Array
Interface
Iterable
LegacyCaller
Long
Maplike
Mixin
Namespace
NaN
NegativeInfinity
Null
Object
Octet
Optional
Or
Partial
PositiveInfinity
Promise
ReadOnly
Record
Required
Sequence
Setlike
Setter
Short
Static
Stringifier
Symbol
True
Typedef
USVString
Uint16Array
Uint32Array
Uint8Array
Uint8ClampedArray
Unrestricted
Unsigned
Void
FloatLiteral(f64)
Identifier(String)
OtherLiteral(char)
SignedIntegerLiteral(i64)
StringLiteral(String)
UnsignedIntegerLiteral(u64)
Colon
Comma
Ellipsis
Equals
GreaterThan
Hyphen
LeftBrace
LeftBracket
LeftParenthesis
LessThan
Period
QuestionMark
RightBrace
RightBracket
RightParenthesis
Semicolon
Trait Implementations
impl PartialEq<Token> for Token
[src]
impl Clone for Token
[src]
fn clone(&self) -> Token
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Display for Token
[src]
impl Debug for Token
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?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, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,