pub struct ScrollAreaBuilder {
pub id: Option<&'static str>,
pub class: Option<&'static str>,
pub children: Option<Vec<NodeBlueprint>>,
pub show_scrollbar: Option<bool>,
pub __strata_key: Option<String>,
}Fields§
§id: Option<&'static str>§class: Option<&'static str>§children: Option<Vec<NodeBlueprint>>§show_scrollbar: Option<bool>§__strata_key: Option<String>Implementations§
Source§impl ScrollAreaBuilder
impl ScrollAreaBuilder
pub fn id(self, val: impl Into<Option<&'static str>>) -> Self
pub fn class(self, val: impl Into<Option<&'static str>>) -> Self
pub fn children( self, val: impl IntoChildren<Option<Vec<NodeBlueprint>>>, ) -> Self
pub fn show_scrollbar(self, val: impl Into<Option<bool>>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ScrollAreaBuilder
impl !Send for ScrollAreaBuilder
impl !Sync for ScrollAreaBuilder
impl !UnwindSafe for ScrollAreaBuilder
impl Forget for ScrollAreaBuilder
impl Freeze for ScrollAreaBuilder
impl Move for ScrollAreaBuilder
impl Unpin for ScrollAreaBuilder
impl UnsafeUnpin for ScrollAreaBuilder
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