pub struct TuningManifest {
pub forge_schema_version: u32,
pub crate_version: String,
pub wgpu_api_version: String,
pub naga_api_version: String,
pub kernel_id: String,
pub semantic_hash: String,
pub winning_source_hash: String,
pub adapter: AdapterIdentity,
pub cache_key: String,
pub result: TuningResult,
}Fields§
§forge_schema_version: u32§crate_version: String§wgpu_api_version: String§naga_api_version: String§kernel_id: String§semantic_hash: String§winning_source_hash: String§adapter: AdapterIdentity§cache_key: String§result: TuningResultImplementations§
Source§impl TuningManifest
impl TuningManifest
pub fn new( generated_winner: &GeneratedShader, adapter: AdapterIdentity, result: TuningResult, ) -> Result<Self, ForgeError>
pub fn to_pretty_json(&self) -> Result<String, ForgeError>
Trait Implementations§
Source§impl Clone for TuningManifest
impl Clone for TuningManifest
Source§fn clone(&self) -> TuningManifest
fn clone(&self) -> TuningManifest
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 TuningManifest
impl Debug for TuningManifest
Source§impl<'de> Deserialize<'de> for TuningManifest
impl<'de> Deserialize<'de> for TuningManifest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TuningManifest
impl PartialEq for TuningManifest
Source§fn eq(&self, other: &TuningManifest) -> bool
fn eq(&self, other: &TuningManifest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TuningManifest
impl Serialize for TuningManifest
impl StructuralPartialEq for TuningManifest
Auto Trait Implementations§
impl Freeze for TuningManifest
impl RefUnwindSafe for TuningManifest
impl Send for TuningManifest
impl Sync for TuningManifest
impl Unpin for TuningManifest
impl UnsafeUnpin for TuningManifest
impl UnwindSafe for TuningManifest
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more