#[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: SharedString
The 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
impl StructuralPartialEq for StandardListViewItem
Auto Trait Implementations§
impl Freeze for StandardListViewItem
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