pub struct HorizontalScrollWindow {
pub start_index: usize,
pub end_index: usize,
pub show_left_arrow: bool,
pub show_right_arrow: bool,
}Expand description
Horizontal scroll window result
Fields§
§start_index: usizeStart index of visible items
end_index: usizeEnd index of visible items (exclusive)
show_left_arrow: boolWhether to show left arrow
show_right_arrow: boolWhether to show right arrow
Trait Implementations§
Source§impl Clone for HorizontalScrollWindow
impl Clone for HorizontalScrollWindow
Source§fn clone(&self) -> HorizontalScrollWindow
fn clone(&self) -> HorizontalScrollWindow
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 HorizontalScrollWindow
impl Debug for HorizontalScrollWindow
Source§impl<'de> Deserialize<'de> for HorizontalScrollWindow
impl<'de> Deserialize<'de> for HorizontalScrollWindow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HorizontalScrollWindow
impl RefUnwindSafe for HorizontalScrollWindow
impl Send for HorizontalScrollWindow
impl Sync for HorizontalScrollWindow
impl Unpin for HorizontalScrollWindow
impl UnsafeUnpin for HorizontalScrollWindow
impl UnwindSafe for HorizontalScrollWindow
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