pub struct InsertListViewItem {
pub index: Option<i32>,
pub column_index: i32,
pub text: Option<String>,
pub image: Option<i32>,
}
Expand description
Represents a list view item parameters
Fields§
§index: Option<i32>
Index of the item to be inserted
If None and insert_item
is used, the item is added at the end of the list
column_index: i32
Index of the column
text: Option<String>
Text of the item to insert
image: Option<i32>
Index of the image in the image list Icons are only supported at column 0
Trait Implementations§
Source§impl Clone for InsertListViewItem
impl Clone for InsertListViewItem
Source§fn clone(&self) -> InsertListViewItem
fn clone(&self) -> InsertListViewItem
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 InsertListViewItem
impl Debug for InsertListViewItem
Source§impl Default for InsertListViewItem
impl Default for InsertListViewItem
Source§fn default() -> InsertListViewItem
fn default() -> InsertListViewItem
Returns the “default value” for a type. Read more
Source§impl<'a> From<&'a str> for InsertListViewItem
impl<'a> From<&'a str> for InsertListViewItem
Auto Trait Implementations§
impl Freeze for InsertListViewItem
impl RefUnwindSafe for InsertListViewItem
impl Send for InsertListViewItem
impl Sync for InsertListViewItem
impl Unpin for InsertListViewItem
impl UnwindSafe for InsertListViewItem
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