pub struct ScrollView { /* private fields */ }Expand description
A panel that clips its content and scrolls it with the wheel.
It paints like a Panel, so it takes a background and a border through
the style builders. Its paint also reports the view’s heights to its
bindings, which is how the offset learns its range and the thumb its
track.
Trait Implementations§
Source§impl Widget for ScrollView
impl Widget for ScrollView
Source§fn paint(&self, cx: &PaintCx<'_>, out: &mut Vec<PaintOp>)
fn paint(&self, cx: &PaintCx<'_>, out: &mut Vec<PaintOp>)
Appends this widget’s paint operations, in paint coordinates. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ScrollView
impl !Send for ScrollView
impl !Sync for ScrollView
impl !UnwindSafe for ScrollView
impl Forget for ScrollView
impl Freeze for ScrollView
impl Move for ScrollView
impl Unpin for ScrollView
impl UnsafeUnpin for ScrollView
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