pub struct SteppedPattern {
pub step_duration: Duration,
pub step_bytes: usize,
pub max_steps: usize,
pub region: String,
}Expand description
Stepped memory pattern - grows in discrete steps.
Fields§
§step_duration: DurationDuration of each step.
step_bytes: usizeMemory increment per step.
max_steps: usizeMaximum steps before reset.
region: StringRegion name.
Trait Implementations§
Source§impl Clone for SteppedPattern
impl Clone for SteppedPattern
Source§fn clone(&self) -> SteppedPattern
fn clone(&self) -> SteppedPattern
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 CustomMemoryPattern for SteppedPattern
impl CustomMemoryPattern for SteppedPattern
Source§impl Debug for SteppedPattern
impl Debug for SteppedPattern
Auto Trait Implementations§
impl Freeze for SteppedPattern
impl RefUnwindSafe for SteppedPattern
impl Send for SteppedPattern
impl Sync for SteppedPattern
impl Unpin for SteppedPattern
impl UnsafeUnpin for SteppedPattern
impl UnwindSafe for SteppedPattern
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