pub struct RawOption {
pub family: Option<&'static str>,
pub value: Option<RawOptionValue>,
}Expand description
What a raw option key means to the core’s budget and double-declaration rules — the engine’s vocabulary translated into the core’s policy.
Fields§
§family: Option<&'static str>The pack-visible family a step may also declare, when there is one.
Always an element of OPTION_FAMILIES. None for an option with no
YAML twin, which is therefore value-capped but cannot be declared twice.
value: Option<RawOptionValue>How the value is bounded, or None when the core has no policy for it.
Trait Implementations§
impl Copy for RawOption
impl Eq for RawOption
impl StructuralPartialEq for RawOption
Auto Trait Implementations§
impl Freeze for RawOption
impl RefUnwindSafe for RawOption
impl Send for RawOption
impl Sync for RawOption
impl Unpin for RawOption
impl UnsafeUnpin for RawOption
impl UnwindSafe for RawOption
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.