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