pub struct ScrollStretch {
pub horizontal: OverscrollStretch,
pub vertical: OverscrollStretch,
}Expand description
Both axes of one scrollable’s stretch.
Fields§
§horizontal: OverscrollStretchAlong the horizontal axis.
vertical: OverscrollStretchAlong the vertical axis.
Implementations§
Trait Implementations§
Source§impl Clone for ScrollStretch
impl Clone for ScrollStretch
impl Copy for ScrollStretch
Source§impl Debug for ScrollStretch
impl Debug for ScrollStretch
Auto Trait Implementations§
impl Freeze for ScrollStretch
impl RefUnwindSafe for ScrollStretch
impl Send for ScrollStretch
impl Sync for ScrollStretch
impl Unpin for ScrollStretch
impl UnsafeUnpin for ScrollStretch
impl UnwindSafe for ScrollStretch
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