Enum r::parser::Localization  
source · pub enum Localization {
    En,
    Es,
    Zh,
    De,
    Pirate,
    Emoji,
}Variants§
Trait Implementations§
source§impl Clone for Localization
 
impl Clone for Localization
source§fn clone(&self) -> Localization
 
fn clone(&self) -> Localization
Returns a copy 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 Localization
 
impl Debug for Localization
source§impl Default for Localization
 
impl Default for Localization
source§fn default() -> Localization
 
fn default() -> Localization
Returns the “default value” for a type. Read more
source§impl FromStr for Localization
 
impl FromStr for Localization
source§impl Highlighter for Localization
 
impl Highlighter for Localization
source§impl LocalizedParser for Localization
 
impl LocalizedParser for Localization
fn parse_input_with( &self, input: &str, config: &SessionParserConfig, ) -> ParseResult
fn parse_highlight_with( &self, input: &str, config: &SessionParserConfig, ) -> HighlightResult
fn parse_input(&self, input: &str) -> ParseResult
fn parse_highlight(&self, input: &str) -> HighlightResult
source§impl PartialEq for Localization
 
impl PartialEq for Localization
source§impl TryFrom<&str> for Localization
 
impl TryFrom<&str> for Localization
source§impl Validator for Localization
 
impl Validator for Localization
source§impl ValueEnum for Localization
 
impl ValueEnum for Localization
impl Copy for Localization
impl StructuralPartialEq for Localization
Auto Trait Implementations§
impl Freeze for Localization
impl RefUnwindSafe for Localization
impl Send for Localization
impl Sync for Localization
impl Unpin for Localization
impl UnwindSafe for Localization
Blanket Implementations§
source§impl<T> AsDynCompare for Twhere
    T: Any + DynCompare,
 
impl<T> AsDynCompare for Twhere
    T: Any + DynCompare,
fn as_any(&self) -> &(dyn Any + 'static)
fn as_dyn_compare(&self) -> &(dyn DynCompare + 'static)
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)source§impl<T> DynCompare for T
 
impl<T> DynCompare for T
fn dyn_eq(&self, other: &(dyn DynCompare + 'static)) -> bool
source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more