pub struct UiScrollConfig {
pub wheel_step: f32,
pub scrollbar_width: f32,
pub scrollbar_gap: f32,
pub show_scrollbar: bool,
}Fields§
§wheel_step: f32Pixels scrolled per mouse-wheel notch.
scrollbar_width: f32Width of the scrollbar track in pixels.
scrollbar_gap: f32Gap between content and scrollbar track.
show_scrollbar: boolWhether to show the scrollbar.
Trait Implementations§
Source§impl Clone for UiScrollConfig
impl Clone for UiScrollConfig
Source§impl Debug for UiScrollConfig
impl Debug for UiScrollConfig
Auto Trait Implementations§
impl Forget for UiScrollConfig
impl Freeze for UiScrollConfig
impl Move for UiScrollConfig
impl RefUnwindSafe for UiScrollConfig
impl Send for UiScrollConfig
impl Sync for UiScrollConfig
impl Unpin for UiScrollConfig
impl UnsafeUnpin for UiScrollConfig
impl UnwindSafe for UiScrollConfig
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