pub struct CoreOptions {
pub strict: bool,
pub on_warning: Option<Box<dyn FnMut(Diagnostic)>>,
}Expand description
Parses Lima Core 1.1 syntax. ($key)/(%key)-shaped text is never
recognised here — Core is reference-unaware by construction; that’s
exclusively the References extension’s concern.
Fields§
§strict: bool§on_warning: Option<Box<dyn FnMut(Diagnostic)>>Trait Implementations§
Source§impl Default for CoreOptions
impl Default for CoreOptions
Auto Trait Implementations§
impl !RefUnwindSafe for CoreOptions
impl !Send for CoreOptions
impl !Sync for CoreOptions
impl !UnwindSafe for CoreOptions
impl Forget for CoreOptions
impl Freeze for CoreOptions
impl Move for CoreOptions
impl Unpin for CoreOptions
impl UnsafeUnpin for CoreOptions
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