pub struct ParserFactory {}Implementations§
Source§impl ParserFactory
impl ParserFactory
pub fn crate_auto() -> WplCodeResult<Arc<dyn FieldParser + Send + Sync>>
pub fn create_simple( meta: &DataType, ) -> Option<Arc<dyn FieldParser + Send + Sync>>
pub fn create( meta: &DataType, ) -> WplCodeResult<Arc<dyn FieldParser + Send + Sync>>
Trait Implementations§
Source§impl Default for ParserFactory
impl Default for ParserFactory
Source§fn default() -> ParserFactory
fn default() -> ParserFactory
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParserFactory
impl RefUnwindSafe for ParserFactory
impl Send for ParserFactory
impl Sync for ParserFactory
impl Unpin for ParserFactory
impl UnsafeUnpin for ParserFactory
impl UnwindSafe for ParserFactory
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