pub struct Scroll {
pub children: Vec<String>,
pub direction: ScrollDir,
pub height: String,
pub width: String,
pub class: String,
}Fields§
§children: Vec<String>§direction: ScrollDir§height: String§width: String§class: StringImplementations§
Source§impl Scroll
impl Scroll
pub fn new() -> Scroll
pub fn child(self, child: String) -> Scroll
pub fn direction(self, direction: ScrollDir) -> Scroll
pub fn height(self, height: String) -> Scroll
pub fn width(self, width: String) -> Scroll
pub fn class(self, class: String) -> Scroll
pub fn render(&self) -> String
Trait Implementations§
impl StructuralPartialEq for Scroll
Auto Trait Implementations§
impl Freeze for Scroll
impl RefUnwindSafe for Scroll
impl Send for Scroll
impl Sync for Scroll
impl Unpin for Scroll
impl UnwindSafe for Scroll
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