Trait modalkit::actions::Scrollable
source · pub trait Scrollable<C, S, I>where
I: ApplicationInfo,{
// Required method
fn scroll(
&mut self,
style: &ScrollStyle,
ctx: &C,
store: &mut S
) -> EditResult<EditInfo, I>;
}
Expand description
Trait for objects that can be scrolled.
Required Methods§
sourcefn scroll(
&mut self,
style: &ScrollStyle,
ctx: &C,
store: &mut S
) -> EditResult<EditInfo, I>
fn scroll( &mut self, style: &ScrollStyle, ctx: &C, store: &mut S ) -> EditResult<EditInfo, I>
Scroll the viewable content in this object.