pub struct SynxlOptions {
pub validate: bool,
}Expand description
Parse options. Defaults follow §8.4: validation is opt-in.
Fields§
§validate: boolEnforce declared constraints and report violations as
DiagnosticKind::ConstraintViolation (§8.4).
Trait Implementations§
Source§impl Clone for SynxlOptions
impl Clone for SynxlOptions
Source§fn clone(&self) -> SynxlOptions
fn clone(&self) -> SynxlOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SynxlOptions
impl Debug for SynxlOptions
Source§impl Default for SynxlOptions
impl Default for SynxlOptions
Source§fn default() -> SynxlOptions
fn default() -> SynxlOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SynxlOptions
impl RefUnwindSafe for SynxlOptions
impl Send for SynxlOptions
impl Sync for SynxlOptions
impl Unpin for SynxlOptions
impl UnsafeUnpin for SynxlOptions
impl UnwindSafe for SynxlOptions
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