pub struct ScriptParserSlot {
pub parser: Option<Arc<dyn ScriptParser>>,
}Expand description
The slot holding the script parser md.mdx validates JavaScript with; the textlane
processor seeds it when built with mdx. Without one, expressions end at the brace
that balances their opening one and imports and exports at a blank line.
Fields§
§parser: Option<Arc<dyn ScriptParser>>Trait Implementations§
Source§impl Clone for ScriptParserSlot
impl Clone for ScriptParserSlot
Auto Trait Implementations§
impl !RefUnwindSafe for ScriptParserSlot
impl !UnwindSafe for ScriptParserSlot
impl Freeze for ScriptParserSlot
impl Send for ScriptParserSlot
impl Sync for ScriptParserSlot
impl Unpin for ScriptParserSlot
impl UnsafeUnpin for ScriptParserSlot
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