pub struct ListViewItem {
pub row_index: i32,
pub column_index: i32,
pub text: String,
pub selected: bool,
pub image: i32,
}
Expand description
The data of a list view item
Fields§
§row_index: i32
§column_index: i32
§text: String
§selected: bool
If the item is currently selected
image: i32
Trait Implementations§
Source§impl Clone for ListViewItem
impl Clone for ListViewItem
Source§fn clone(&self) -> ListViewItem
fn clone(&self) -> ListViewItem
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 ListViewItem
impl Debug for ListViewItem
Source§impl Default for ListViewItem
impl Default for ListViewItem
Source§fn default() -> ListViewItem
fn default() -> ListViewItem
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListViewItem
impl RefUnwindSafe for ListViewItem
impl Send for ListViewItem
impl Sync for ListViewItem
impl Unpin for ListViewItem
impl UnwindSafe for ListViewItem
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