Skip to main content

ScrollableExt

Trait ScrollableExt 

pub trait ScrollableExt: Sized {
    // Required method
    fn get_effect(&mut self) -> &mut EffectData;

    // Provided method
    fn scrollable(self, scrollable: impl Into<bool>) -> Self { ... }
}

Required Methods§

fn get_effect(&mut self) -> &mut EffectData

Provided Methods§

fn scrollable(self, scrollable: impl Into<bool>) -> Self

Mark this element as scrollable. You are probably looking for the ScrollView component instead.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§