pub struct ScrollOptions {
pub wheel_step: f32,
pub smooth: bool,
pub smooth_ms: f32,
}Expand description
Como a roda rola as listas e caixas de rolagem do app (Ui::set_scroll_options).
Fields§
§wheel_step: f32Pontos por dente da roda (100 = o padrão, como nos navegadores).
smooth: boolDesliza até a posição nova em vez de saltar.
smooth_ms: f32Duração do deslize, em ms.
Trait Implementations§
Source§impl Clone for ScrollOptions
impl Clone for ScrollOptions
impl Copy for ScrollOptions
Source§impl Debug for ScrollOptions
impl Debug for ScrollOptions
Source§impl Default for ScrollOptions
impl Default for ScrollOptions
Source§impl PartialEq for ScrollOptions
impl PartialEq for ScrollOptions
impl StructuralPartialEq for ScrollOptions
Auto Trait Implementations§
impl Forget for ScrollOptions
impl Freeze for ScrollOptions
impl Move for ScrollOptions
impl RefUnwindSafe for ScrollOptions
impl Send for ScrollOptions
impl Sync for ScrollOptions
impl Unpin for ScrollOptions
impl UnsafeUnpin for ScrollOptions
impl UnwindSafe for ScrollOptions
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