pub struct StdParser<StdType>(/* private fields */);
Expand description
Parses a standard library type, determined by the StdType
type parameter.
Implementations§
source§impl StdParser<u128>
impl StdParser<u128>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, u128>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, u128>
Atempts to parse u128
source§impl StdParser<i128>
impl StdParser<i128>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, i128>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, i128>
Atempts to parse i128
source§impl StdParser<u64>
impl StdParser<u64>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, u64>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, u64>
Atempts to parse u64
source§impl StdParser<i64>
impl StdParser<i64>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, i64>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, i64>
Atempts to parse i64
source§impl StdParser<u32>
impl StdParser<u32>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, u32>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, u32>
Atempts to parse u32
source§impl StdParser<i32>
impl StdParser<i32>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, i32>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, i32>
Atempts to parse i32
source§impl StdParser<u16>
impl StdParser<u16>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, u16>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, u16>
Atempts to parse u16
source§impl StdParser<i16>
impl StdParser<i16>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, i16>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, i16>
Atempts to parse i16
source§impl StdParser<u8>
impl StdParser<u8>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, u8>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, u8>
Atempts to parse u8
source§impl StdParser<i8>
impl StdParser<i8>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, i8>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, i8>
Atempts to parse i8
source§impl StdParser<usize>
impl StdParser<usize>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, usize>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, usize>
Atempts to parse usize
source§impl StdParser<isize>
impl StdParser<isize>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, isize>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, isize>
Atempts to parse isize
source§impl StdParser<bool>
impl StdParser<bool>
sourcepub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, bool>
pub const fn parse_with(parser: Parser<'_>) -> ParseValueResult<'_, bool>
Atempts to parse bool
Auto Trait Implementations§
impl<StdType> Freeze for StdParser<StdType>
impl<StdType> RefUnwindSafe for StdParser<StdType>where
StdType: RefUnwindSafe,
impl<StdType> Send for StdParser<StdType>where
StdType: Send,
impl<StdType> Sync for StdParser<StdType>where
StdType: Sync,
impl<StdType> Unpin for StdParser<StdType>where
StdType: Unpin,
impl<StdType> UnwindSafe for StdParser<StdType>where
StdType: UnwindSafe,
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