pub trait ScrollableExtwhere
Self: Sized,{
// Required method
fn effect_mut(&mut self) -> &mut EffectData;
// Provided method
fn scrollable(self, scrollable: impl Into<bool>) -> Self { ... }
}Required Methods§
Sourcefn effect_mut(&mut self) -> &mut EffectData
fn effect_mut(&mut self) -> &mut EffectData
Returns a mutable reference to the element’s effect data.
Provided Methods§
Sourcefn scrollable(self, scrollable: impl Into<bool>) -> Self
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".