pub struct MotifGrammar {
pub plan_regression_onset: MotifParams,
pub cardinality_mismatch_regime: MotifParams,
pub contention_ramp: MotifParams,
pub cache_collapse: MotifParams,
pub workload_phase_transition: MotifParams,
}Expand description
The whole grammar: one parameter set per motif class.
Fields§
§plan_regression_onset: MotifParams§cardinality_mismatch_regime: MotifParams§contention_ramp: MotifParams§cache_collapse: MotifParams§workload_phase_transition: MotifParamsImplementations§
Source§impl MotifGrammar
impl MotifGrammar
pub fn params(&self, class: MotifClass) -> &MotifParams
pub fn from_yaml(yaml: &str) -> Result<Self>
Trait Implementations§
Source§impl Clone for MotifGrammar
impl Clone for MotifGrammar
Source§fn clone(&self) -> MotifGrammar
fn clone(&self) -> MotifGrammar
Returns a duplicate of the value. Read more
1.0.0 · 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 MotifGrammar
impl Debug for MotifGrammar
Source§impl Default for MotifGrammar
impl Default for MotifGrammar
Source§impl<'de> Deserialize<'de> for MotifGrammar
impl<'de> Deserialize<'de> for MotifGrammar
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
Auto Trait Implementations§
impl Freeze for MotifGrammar
impl RefUnwindSafe for MotifGrammar
impl Send for MotifGrammar
impl Sync for MotifGrammar
impl Unpin for MotifGrammar
impl UnsafeUnpin for MotifGrammar
impl UnwindSafe for MotifGrammar
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