pub struct SchedulerTestcaseMetaData { /* private fields */ }
Expand description
The Metadata for each testcase used in power schedules.
Implementations
sourceimpl SchedulerTestcaseMetaData
impl SchedulerTestcaseMetaData
sourcepub fn new(depth: u64) -> Self
pub fn new(depth: u64) -> Self
Create new SchedulerTestcaseMetaData
sourcepub fn bitmap_size(&self) -> u64
pub fn bitmap_size(&self) -> u64
Get the bitmap size
sourcepub fn set_bitmap_size(&mut self, val: u64)
pub fn set_bitmap_size(&mut self, val: u64)
Set the bitmap size
sourcepub fn set_handicap(&mut self, val: u64)
pub fn set_handicap(&mut self, val: u64)
Set the handicap
sourcepub fn n_fuzz_entry(&self) -> usize
pub fn n_fuzz_entry(&self) -> usize
Get the n_fuzz_entry
sourcepub fn set_n_fuzz_entry(&mut self, val: usize)
pub fn set_n_fuzz_entry(&mut self, val: usize)
Set the n_fuzz_entry
Trait Implementations
sourceimpl Clone for SchedulerTestcaseMetaData
impl Clone for SchedulerTestcaseMetaData
sourcefn clone(&self) -> SchedulerTestcaseMetaData
fn clone(&self) -> SchedulerTestcaseMetaData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SchedulerTestcaseMetaData
impl Debug for SchedulerTestcaseMetaData
sourceimpl<'de> Deserialize<'de> for SchedulerTestcaseMetaData
impl<'de> Deserialize<'de> for SchedulerTestcaseMetaData
sourcefn 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
sourceimpl SerdeAny for SchedulerTestcaseMetaData
impl SerdeAny for SchedulerTestcaseMetaData
sourcefn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
returns this as mutable Any trait
sourcefn as_any_boxed(self: Box<SchedulerTestcaseMetaData>) -> Box<dyn Any>
fn as_any_boxed(self: Box<SchedulerTestcaseMetaData>) -> Box<dyn Any>
returns this as boxed Any trait
sourceimpl Serialize for SchedulerTestcaseMetaData
impl Serialize for SchedulerTestcaseMetaData
Auto Trait Implementations
impl RefUnwindSafe for SchedulerTestcaseMetaData
impl Send for SchedulerTestcaseMetaData
impl Sync for SchedulerTestcaseMetaData
impl Unpin for SchedulerTestcaseMetaData
impl UnwindSafe for SchedulerTestcaseMetaData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
sourcefn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.