pub struct SawtoothPattern {
pub period: Duration,
pub peak_bytes: usize,
pub region: String,
}Expand description
Sawtooth memory pattern - grows then drops.
Fields§
§period: DurationPeriod of each cycle.
peak_bytes: usizePeak allocation per cycle.
region: StringRegion name.
Trait Implementations§
Source§impl Clone for SawtoothPattern
impl Clone for SawtoothPattern
Source§fn clone(&self) -> SawtoothPattern
fn clone(&self) -> SawtoothPattern
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 SawtoothPattern
impl Debug for SawtoothPattern
Auto Trait Implementations§
impl Freeze for SawtoothPattern
impl RefUnwindSafe for SawtoothPattern
impl Send for SawtoothPattern
impl Sync for SawtoothPattern
impl Unpin for SawtoothPattern
impl UnsafeUnpin for SawtoothPattern
impl UnwindSafe for SawtoothPattern
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