pub struct LabeledWasmBuildSpec { /* private fields */ }Expand description
Caller-labeled specification for one exact Wasm batch entry.
The label is report and progress identity only; it does not alter the underlying exact Wasm fingerprint or cache key.
Implementations§
Source§impl LabeledWasmBuildSpec
impl LabeledWasmBuildSpec
Sourcepub fn new(label: impl Into<String>, spec: WasmBuildSpec) -> Self
pub fn new(label: impl Into<String>, spec: WasmBuildSpec) -> Self
Attach a caller-owned stable label to one Wasm build specification.
Sourcepub const fn spec(&self) -> &WasmBuildSpec
pub const fn spec(&self) -> &WasmBuildSpec
Underlying exact Wasm build specification.
Sourcepub fn into_parts(self) -> (String, WasmBuildSpec)
pub fn into_parts(self) -> (String, WasmBuildSpec)
Consume the entry into its label and Wasm build specification.
Trait Implementations§
Source§impl Clone for LabeledWasmBuildSpec
impl Clone for LabeledWasmBuildSpec
Source§fn clone(&self) -> LabeledWasmBuildSpec
fn clone(&self) -> LabeledWasmBuildSpec
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 LabeledWasmBuildSpec
impl Debug for LabeledWasmBuildSpec
impl Eq for LabeledWasmBuildSpec
Source§impl PartialEq for LabeledWasmBuildSpec
impl PartialEq for LabeledWasmBuildSpec
impl StructuralPartialEq for LabeledWasmBuildSpec
Auto Trait Implementations§
impl Freeze for LabeledWasmBuildSpec
impl RefUnwindSafe for LabeledWasmBuildSpec
impl Send for LabeledWasmBuildSpec
impl Sync for LabeledWasmBuildSpec
impl Unpin for LabeledWasmBuildSpec
impl UnsafeUnpin for LabeledWasmBuildSpec
impl UnwindSafe for LabeledWasmBuildSpec
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.