pub struct Config<MathField> {
pub space_behaves_like_tab: Option<bool>,
pub handlers: Handlers<MathField>,
}Expand description
This is an owned, abstracted representation of the configuartion options
supported by MathQuill.
Dropping this struct invalidates callbacks on fields mounted by this config,
see Handlers.
Use Config::get_js_value to pass through the Wasm ABI interface
Fields§
§space_behaves_like_tab: Option<bool>§handlers: Handlers<MathField>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<MathField> Freeze for Config<MathField>
impl<MathField> !RefUnwindSafe for Config<MathField>
impl<MathField> !Send for Config<MathField>
impl<MathField> !Sync for Config<MathField>
impl<MathField> Unpin for Config<MathField>where
MathField: Unpin,
impl<MathField> !UnwindSafe for Config<MathField>
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