pub enum InteractionLevel {
None,
Low,
Medium,
High,
}Expand description
Intensity level for InteractionSimulator random interactions.
§Example
use stygian_browser::behavior::InteractionLevel;
assert_eq!(InteractionLevel::default(), InteractionLevel::None);Variants§
None
No random interactions are performed.
Low
Occasional scroll + brief pause (500–1 500 ms).
Medium
Scroll sequence + mouse wiggle + reading pause (1–3 s).
High
Full simulation: scrolling, mouse wiggles, hover, and scroll-back.
Trait Implementations§
Source§impl Clone for InteractionLevel
impl Clone for InteractionLevel
Source§fn clone(&self) -> InteractionLevel
fn clone(&self) -> InteractionLevel
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 InteractionLevel
impl Debug for InteractionLevel
Source§impl Default for InteractionLevel
impl Default for InteractionLevel
Source§fn default() -> InteractionLevel
fn default() -> InteractionLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for InteractionLevel
impl PartialEq for InteractionLevel
impl Copy for InteractionLevel
impl Eq for InteractionLevel
impl StructuralPartialEq for InteractionLevel
Auto Trait Implementations§
impl Freeze for InteractionLevel
impl RefUnwindSafe for InteractionLevel
impl Send for InteractionLevel
impl Sync for InteractionLevel
impl Unpin for InteractionLevel
impl UnwindSafe for InteractionLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.