pub struct ScrollProps {
pub horizontal: bool,
}Expand description
Realize props for a scroll container: which axis it scrolls. Backends create the matching
native scroll view (vertical UIScrollView/ScrollView, horizontal
HorizontalScrollView, etc.).
Fields§
§horizontal: boolTrait Implementations§
Source§impl Clone for ScrollProps
impl Clone for ScrollProps
Source§fn clone(&self) -> ScrollProps
fn clone(&self) -> ScrollProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScrollProps
impl Debug for ScrollProps
Source§impl Default for ScrollProps
impl Default for ScrollProps
Source§fn default() -> ScrollProps
fn default() -> ScrollProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for ScrollProps
impl PartialEq for ScrollProps
Source§fn eq(&self, other: &ScrollProps) -> bool
fn eq(&self, other: &ScrollProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScrollProps
Auto Trait Implementations§
impl Freeze for ScrollProps
impl RefUnwindSafe for ScrollProps
impl Send for ScrollProps
impl Sync for ScrollProps
impl Unpin for ScrollProps
impl UnsafeUnpin for ScrollProps
impl UnwindSafe for ScrollProps
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