pub struct CollectionInfo {
pub rows: usize,
pub columns: usize,
}Expand description
How far a container has scrolled along one axis and how far it can go.
How many rows and columns a list holds, so a screen reader can say
“list, 12 items” as its cursor enters. Compose’s CollectionInfo.
Fields§
§rows: usize§columns: usizeTrait Implementations§
Source§impl Clone for CollectionInfo
impl Clone for CollectionInfo
Source§fn clone(&self) -> CollectionInfo
fn clone(&self) -> CollectionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CollectionInfo
Source§impl Debug for CollectionInfo
impl Debug for CollectionInfo
impl Eq for CollectionInfo
Source§impl PartialEq for CollectionInfo
impl PartialEq for CollectionInfo
impl StructuralPartialEq for CollectionInfo
Auto Trait Implementations§
impl Freeze for CollectionInfo
impl RefUnwindSafe for CollectionInfo
impl Send for CollectionInfo
impl Sync for CollectionInfo
impl Unpin for CollectionInfo
impl UnsafeUnpin for CollectionInfo
impl UnwindSafe for CollectionInfo
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