pub struct ScrollArea {
pub children: Vec<String>,
pub direction: ScrollDirection,
pub height: String,
pub width: String,
}Fields§
§children: Vec<String>§direction: ScrollDirection§height: String§width: StringImplementations§
Source§impl ScrollArea
impl ScrollArea
pub fn new() -> ScrollArea
pub fn child(self, child: String) -> ScrollArea
pub fn direction(self, direction: ScrollDirection) -> ScrollArea
pub fn height(self, height: String) -> ScrollArea
pub fn width(self, width: String) -> ScrollArea
Trait Implementations§
Source§impl Clone for ScrollArea
impl Clone for ScrollArea
Source§fn clone(&self) -> ScrollArea
fn clone(&self) -> ScrollArea
Returns a duplicate of the value. Read more
1.0.0 · 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 ScrollArea
impl Debug for ScrollArea
Source§impl PartialEq for ScrollArea
impl PartialEq for ScrollArea
Source§impl Renderable for ScrollArea
impl Renderable for ScrollArea
impl StructuralPartialEq for ScrollArea
Auto Trait Implementations§
impl Freeze for ScrollArea
impl RefUnwindSafe for ScrollArea
impl Send for ScrollArea
impl Sync for ScrollArea
impl Unpin for ScrollArea
impl UnwindSafe for ScrollArea
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