Struct denvars::FromStrParser
source · pub struct FromStrParser;Expand description
Parser that uses FromStr to parse values
into requested type.
Trait Implementations§
source§impl BoolParser for FromStrParser
impl BoolParser for FromStrParser
source§impl Clone for FromStrParser
impl Clone for FromStrParser
source§fn clone(&self) -> FromStrParser
fn clone(&self) -> FromStrParser
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 NumParser for FromStrParser
impl NumParser for FromStrParser
fn parse_i8<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
fn parse_i16<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
fn parse_i32<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
fn parse_i64<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
fn parse_i128<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
fn parse_u8<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
fn parse_u16<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
fn parse_u32<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
fn parse_u64<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
fn parse_u128<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
fn parse_f32<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
fn parse_f64<'de, V>(&self, value: &str, visitor: V) -> Result<V::Value, Error>where V: Visitor<'de>,
impl Copy for FromStrParser
Auto Trait Implementations§
impl RefUnwindSafe for FromStrParser
impl Send for FromStrParser
impl Sync for FromStrParser
impl Unpin for FromStrParser
impl UnwindSafe for FromStrParser
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