pub struct FrontendParser;
Expand description
Frontend Parser for React component definitions in Jsonnet
Implementations§
Source§impl FrontendParser
impl FrontendParser
Sourcepub fn parse(content: &str) -> Result<FrontendConfig>
pub fn parse(content: &str) -> Result<FrontendConfig>
Parse frontend configuration from Jsonnet
Sourcepub fn parse_file<P: AsRef<Path>>(path: P) -> Result<FrontendConfig>
pub fn parse_file<P: AsRef<Path>>(path: P) -> Result<FrontendConfig>
Parse frontend config from file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrontendParser
impl RefUnwindSafe for FrontendParser
impl Send for FrontendParser
impl Sync for FrontendParser
impl Unpin for FrontendParser
impl UnwindSafe for FrontendParser
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