pub enum StormPattern {
Burst {
count: usize,
},
Sweep {
start_width: u16,
start_height: u16,
end_width: u16,
end_height: u16,
steps: usize,
},
Oscillate {
size_a: (u16, u16),
size_b: (u16, u16),
cycles: usize,
},
Pathological {
count: usize,
},
Mixed {
count: usize,
},
Custom {
events: Vec<(u16, u16, u64)>,
},
}Expand description
Pattern type for resize storm generation.
Variants§
Burst
Rapid burst of resizes with minimal delay.
Sweep
Gradual size sweep from min to max.
Fields
Oscillate
Oscillate between two sizes.
Fields
Pathological
Pathological edge cases (extremes, zero delays).
Mixed
Mixed pattern combining all types.
Custom
Custom resize sequence.
Implementations§
Source§impl StormPattern
impl StormPattern
Trait Implementations§
Source§impl Clone for StormPattern
impl Clone for StormPattern
Source§fn clone(&self) -> StormPattern
fn clone(&self) -> StormPattern
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 StormPattern
impl Debug for StormPattern
Source§impl Default for StormPattern
impl Default for StormPattern
Source§impl PartialEq for StormPattern
impl PartialEq for StormPattern
impl StructuralPartialEq for StormPattern
Auto Trait Implementations§
impl Freeze for StormPattern
impl RefUnwindSafe for StormPattern
impl Send for StormPattern
impl Sync for StormPattern
impl Unpin for StormPattern
impl UnsafeUnpin for StormPattern
impl UnwindSafe for StormPattern
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