pub struct Props {
pub max_height: String,
pub id: String,
pub children: Markup,
}Expand description
ScrollArea rendering properties
Fields§
§max_height: StringCSS value for max-height (e.g., “12rem”, “200px”)
id: StringUnique identifier for the viewport
children: MarkupContent to scroll
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Props
impl RefUnwindSafe for Props
impl Send for Props
impl Sync for Props
impl Unpin for Props
impl UnsafeUnpin for Props
impl UnwindSafe for Props
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