Struct r::session::SessionParserConfig
source · pub struct SessionParserConfig {
pub locale: Localization,
pub experiments: Vec<Experiment>,
}
Fields§
§locale: Localization
§experiments: Vec<Experiment>
Trait Implementations§
source§impl Clone for SessionParserConfig
impl Clone for SessionParserConfig
source§fn clone(&self) -> SessionParserConfig
fn clone(&self) -> SessionParserConfig
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 SessionParserConfig
impl Debug for SessionParserConfig
source§impl Default for SessionParserConfig
impl Default for SessionParserConfig
source§fn default() -> SessionParserConfig
fn default() -> SessionParserConfig
Returns the “default value” for a type. Read more
source§impl From<Session> for SessionParserConfig
impl From<Session> for SessionParserConfig
source§impl Highlighter for SessionParserConfig
impl Highlighter for SessionParserConfig
source§impl LocalizedParser for SessionParserConfig
impl LocalizedParser for SessionParserConfig
fn parse_input_with( &self, _input: &str, _config: &SessionParserConfig, ) -> ParseResult
fn parse_input(&self, input: &str) -> ParseResult
fn parse_highlight_with( &self, _input: &str, _config: &SessionParserConfig, ) -> HighlightResult
fn parse_highlight(&self, input: &str) -> HighlightResult
source§impl PartialEq for SessionParserConfig
impl PartialEq for SessionParserConfig
source§impl Validator for SessionParserConfig
impl Validator for SessionParserConfig
impl StructuralPartialEq for SessionParserConfig
Auto Trait Implementations§
impl Freeze for SessionParserConfig
impl RefUnwindSafe for SessionParserConfig
impl Send for SessionParserConfig
impl Sync for SessionParserConfig
impl Unpin for SessionParserConfig
impl UnwindSafe for SessionParserConfig
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