Enum xswag_syntax_java::lex::Keyword
[−]
[src]
pub enum Keyword {
Abstract,
Assert,
Boolean,
Break,
Byte,
Case,
Catch,
Char,
Class,
Const,
Continue,
Default,
Do,
Double,
Else,
Enum,
Extends,
Final,
Finally,
Float,
For,
If,
Goto,
Implements,
Import,
Instanceof,
Int,
Interface,
Long,
Native,
New,
Package,
Private,
Protected,
Public,
Return,
Short,
Static,
Strictfp,
Super,
Switch,
Synchronized,
This,
Throw,
Throws,
Transient,
Try,
Void,
Volatile,
While,
}Represents one of the Java keywords
Variants
AbstractAssertBooleanBreakByteCaseCatchCharClassConstContinueDefaultDoDoubleElseEnumExtendsFinalFinallyFloatForIfGotoImplementsImportInstanceofIntInterfaceLongNativeNewPackagePrivateProtectedPublicReturnShortStaticStrictfpSuperSwitchSynchronizedThisThrowThrowsTransientTryVoidVolatileWhileMethods
impl Keyword[src]
fn as_java_string(&self) -> &str
Trait Implementations
impl Copy for Keyword[src]
impl Clone for Keyword[src]
fn clone(&self) -> Keyword
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for Keyword[src]
fn eq(&self, __arg_0: &Keyword) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for Keyword[src]
impl Debug for Keyword[src]
impl Display for Keyword[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl FromStr for Keyword[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s to return a value of this type. Read more