pub struct EyeControlConfig {
pub max_yaw: f32,
pub max_pitch: f32,
pub blink_interval: f32,
pub blink_duration: f32,
pub saccade_speed: f32,
pub blink_variation: f32,
}Fields§
§max_yaw: f32Maximum horizontal deviation in radians.
max_pitch: f32Maximum vertical deviation in radians.
blink_interval: f32Average time between blinks (seconds).
blink_duration: f32Duration of a single blink (seconds).
saccade_speed: f32Speed of saccade (fraction per second).
blink_variation: f32Randomness in blink interval [0..1].
Trait Implementations§
Source§impl Clone for EyeControlConfig
impl Clone for EyeControlConfig
Source§fn clone(&self) -> EyeControlConfig
fn clone(&self) -> EyeControlConfig
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 moreAuto Trait Implementations§
impl Freeze for EyeControlConfig
impl RefUnwindSafe for EyeControlConfig
impl Send for EyeControlConfig
impl Sync for EyeControlConfig
impl Unpin for EyeControlConfig
impl UnsafeUnpin for EyeControlConfig
impl UnwindSafe for EyeControlConfig
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more