Enum kas::event::config::ChangeConfig
source · pub enum ChangeConfig {
MenuDelay(u32),
TouchSelectDelay(u32),
ScrollFlickTimeout(u32),
ScrollFlickMul(f32),
ScrollFlickSub(f32),
ScrollDistEm(f32),
PanDistThresh(f32),
MousePan(MousePan),
MouseTextPan(MousePan),
MouseNavFocus(bool),
TouchNavFocus(bool),
ResetToDefault,
}
Expand description
Configuration message used to update Config
Variants§
MenuDelay(u32)
TouchSelectDelay(u32)
ScrollFlickTimeout(u32)
ScrollFlickMul(f32)
ScrollFlickSub(f32)
ScrollDistEm(f32)
PanDistThresh(f32)
MousePan(MousePan)
MouseTextPan(MousePan)
ResetToDefault
Reset all config values to default (not saved) values
Trait Implementations§
source§impl Clone for ChangeConfig
impl Clone for ChangeConfig
source§fn clone(&self) -> ChangeConfig
fn clone(&self) -> ChangeConfig
Returns a copy 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 RefUnwindSafe for ChangeConfig
impl Send for ChangeConfig
impl Sync for ChangeConfig
impl Unpin for ChangeConfig
impl UnwindSafe for ChangeConfig
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
§impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
§fn cast_approx(self) -> T
fn cast_approx(self) -> T
§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more
§fn try_cast_trunc(self) -> Result<T, Error>
fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
§fn try_cast_nearest(self) -> Result<T, Error>
fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
§fn try_cast_floor(self) -> Result<T, Error>
fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
§fn try_cast_ceil(self) -> Result<T, Error>
fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more