pub struct LevelOpts {
pub order: Order,
pub allow_unknown: bool,
}Expand description
A level’s options; defaults mirror the TS engine (order: "none", allowUnknown: true).
Fields§
§order: Orderhow declared sections are ordered
allow_unknown: boolwhether sections the contract does not declare are allowed
Trait Implementations§
impl Copy for LevelOpts
impl Eq for LevelOpts
impl StructuralPartialEq for LevelOpts
Auto Trait Implementations§
impl Freeze for LevelOpts
impl RefUnwindSafe for LevelOpts
impl Send for LevelOpts
impl Sync for LevelOpts
impl Unpin for LevelOpts
impl UnsafeUnpin for LevelOpts
impl UnwindSafe for LevelOpts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.