pub struct Options {
pub key_expr: bool,
pub meta: bool,
pub meta_suffix: String,
pub val_expr: bool,
pub val_expr_mark: String,
}Expand description
How a spec is read.
Fields§
§key_expr: boolRead object keys like "x: Min(1)" as key expressions. On by default.
meta: boolRead "x$$" keys as metadata for "x". Off by default.
meta_suffix: StringThe suffix of a metadata key.
val_expr: boolRead the string under the mark key as an expression applied to the object. Off by default.
val_expr_mark: StringThe mark key of a value expression; the meta suffix when empty.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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