pub enum PreviewSource {
Env,
Config,
Option,
}Expand description
One of the preview opt-in’s three additive carriers (ADR-0719
decision 3) — the typed vocabulary of PreviewSources. It carries
no display text: each layer that names a carrier (a parse failure, the
SHOW SETTINGS provenance) spells it where that text belongs.
Variants§
Env
The RELATE_PREVIEW environment variable — the machine’s local
extra, where an environment exists.
Config
The store-committed relate.yaml preview: list — the store’s
declared contract.
Option
The typed OpenOptions.preview field — the embedder’s choice,
each surface’s own opt-in spelling (the CLI’s --preview, the
wasm parameter, the Python keyword).
Trait Implementations§
Source§impl Clone for PreviewSource
impl Clone for PreviewSource
impl Copy for PreviewSource
Source§impl Debug for PreviewSource
impl Debug for PreviewSource
impl Eq for PreviewSource
Source§impl PartialEq for PreviewSource
impl PartialEq for PreviewSource
impl StructuralPartialEq for PreviewSource
Auto Trait Implementations§
impl Forget for PreviewSource
impl Freeze for PreviewSource
impl Move for PreviewSource
impl RefUnwindSafe for PreviewSource
impl Send for PreviewSource
impl Sync for PreviewSource
impl Unpin for PreviewSource
impl UnsafeUnpin for PreviewSource
impl UnwindSafe for PreviewSource
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.