Struct fui_controls::ScrollViewer
source · pub struct ScrollViewer {
pub horizontal_scroll_bar_visibility: ScrollBarVisibility,
pub vertical_scroll_bar_visibility: ScrollBarVisibility,
}
Fields§
§horizontal_scroll_bar_visibility: ScrollBarVisibility
§vertical_scroll_bar_visibility: ScrollBarVisibility
Implementations§
source§impl ScrollViewer
impl ScrollViewer
sourcepub fn builder() -> ScrollViewerBuilder<((), ())>
pub fn builder() -> ScrollViewerBuilder<((), ())>
Create a builder for building ScrollViewer
.
On the builder, call .horizontal_scroll_bar_visibility(...)
(optional), .vertical_scroll_bar_visibility(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ScrollViewer
.
source§impl ScrollViewer
impl ScrollViewer
pub fn to_view( self, _style: Option<Box<dyn Style<Self>>>, context: ViewContext ) -> Rc<RefCell<dyn ControlObject>>
Auto Trait Implementations§
impl Freeze for ScrollViewer
impl RefUnwindSafe for ScrollViewer
impl Send for ScrollViewer
impl Sync for ScrollViewer
impl Unpin for ScrollViewer
impl UnwindSafe for ScrollViewer
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