pub struct ExpReservedTokenList { /* private fields */ }
Implementations§
Source§impl ExpReservedTokenList
impl ExpReservedTokenList
pub fn new() -> Self
pub fn translate(&mut self, prefix: &str)
pub fn translate_resp(&mut self)
pub fn append(&mut self, other: Self)
pub fn add_string(&mut self, token: &str)
pub fn add_glob(&mut self, token: &str)
pub fn add_bool(&mut self, token: &str)
pub fn add_i8(&mut self, token: &str)
pub fn add_i16(&mut self, token: &str)
pub fn add_i32(&mut self, token: &str)
pub fn add_i64(&mut self, token: &str)
pub fn add_u8(&mut self, token: &str)
pub fn add_u16(&mut self, token: &str)
pub fn add_u32(&mut self, token: &str)
pub fn add_u64(&mut self, token: &str)
pub fn is_reserved_token(&self, token: &str) -> bool
pub fn default_value(&self, token: &str) -> Option<ExpTokenEvalValue>
Trait Implementations§
Source§impl ExpReservedTokenTranslator for &ExpReservedTokenList
impl ExpReservedTokenTranslator for &ExpReservedTokenList
fn trans(&self, token: &str) -> ExpTokenEvalValue
Source§impl ExpReservedTokenTranslator for ExpReservedTokenList
impl ExpReservedTokenTranslator for ExpReservedTokenList
fn trans(&self, token: &str) -> ExpTokenEvalValue
Auto Trait Implementations§
impl Freeze for ExpReservedTokenList
impl RefUnwindSafe for ExpReservedTokenList
impl Send for ExpReservedTokenList
impl Sync for ExpReservedTokenList
impl Unpin for ExpReservedTokenList
impl UnwindSafe for ExpReservedTokenList
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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