pub struct ConstantParserTable<'a, Constant> { /* private fields */ }
Expand description
A set of constant parsers
Implementations§
Source§impl<'a, Constant> ConstantParserTable<'a, Constant>
impl<'a, Constant> ConstantParserTable<'a, Constant>
pub fn parsers( parsers: &'a [ConstantParser<Constant>], ) -> ConstantParserTable<'a, Constant>
pub fn get_parser(&self, constant_type: u8) -> Option<&ConstantParser<Constant>>
Auto Trait Implementations§
impl<'a, Constant> Freeze for ConstantParserTable<'a, Constant>
impl<'a, Constant> RefUnwindSafe for ConstantParserTable<'a, Constant>
impl<'a, Constant> Send for ConstantParserTable<'a, Constant>
impl<'a, Constant> Sync for ConstantParserTable<'a, Constant>
impl<'a, Constant> Unpin for ConstantParserTable<'a, Constant>
impl<'a, Constant> UnwindSafe for ConstantParserTable<'a, Constant>
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