pub struct ScrollViewProps<'a> {
pub flex_direction: Direction,
pub justify_content: Flex,
pub gap: i32,
pub margin: Margin,
pub offset: Offset,
pub width: Constraint,
pub height: Constraint,
pub children: Vec<AnyElement<'a>>,
pub scroll_bars: ScrollBars<'static>,
pub scroll_view_state: ScrollViewState,
}Fields§
§flex_direction: Direction§justify_content: Flex§gap: i32§margin: Margin§offset: Offset§width: Constraint§height: Constraint§children: Vec<AnyElement<'a>>§scroll_bars: ScrollBars<'static>§scroll_view_state: ScrollViewStateTrait Implementations§
Source§impl<'a> Default for ScrollViewProps<'a>
impl<'a> Default for ScrollViewProps<'a>
Source§fn default() -> ScrollViewProps<'a>
fn default() -> ScrollViewProps<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> From<&ScrollViewProps<'a>> for LayoutStyle
impl<'a> From<&ScrollViewProps<'a>> for LayoutStyle
Source§fn from(props: &ScrollViewProps<'_>) -> Self
fn from(props: &ScrollViewProps<'_>) -> Self
Converts to this type from the input type.
impl<'a> Props for ScrollViewProps<'a>
Auto Trait Implementations§
impl<'a> Freeze for ScrollViewProps<'a>
impl<'a> !RefUnwindSafe for ScrollViewProps<'a>
impl<'a> Send for ScrollViewProps<'a>
impl<'a> Sync for ScrollViewProps<'a>
impl<'a> Unpin for ScrollViewProps<'a>
impl<'a> !UnwindSafe for ScrollViewProps<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more