Struct i_slint_core::items::StandardListViewItem
source · #[non_exhaustive]#[repr(C)]pub struct StandardListViewItem {
pub text: SharedString,
}Expand description
Represents an item in a StandardListView and a StandardTableView.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.text: SharedStringThe text content of the item
Trait Implementations§
source§impl Clone for StandardListViewItem
impl Clone for StandardListViewItem
source§fn clone(&self) -> StandardListViewItem
fn clone(&self) -> StandardListViewItem
Returns a copy 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 StandardListViewItem
impl Debug for StandardListViewItem
source§impl Default for StandardListViewItem
impl Default for StandardListViewItem
source§fn default() -> StandardListViewItem
fn default() -> StandardListViewItem
Returns the “default value” for a type. Read more
source§impl From<&str> for StandardListViewItem
impl From<&str> for StandardListViewItem
source§fn from(value: SharedString) -> Self
fn from(value: SharedString) -> Self
Converts to this type from the input type.
source§impl PartialEq for StandardListViewItem
impl PartialEq for StandardListViewItem
source§fn eq(&self, other: &StandardListViewItem) -> bool
fn eq(&self, other: &StandardListViewItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StandardListViewItem
Auto Trait Implementations§
impl RefUnwindSafe for StandardListViewItem
impl Send for StandardListViewItem
impl !Sync for StandardListViewItem
impl Unpin for StandardListViewItem
impl UnwindSafe for StandardListViewItem
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