Struct slint::StandardListViewItem
pub struct StandardListViewItem {
pub text: SharedString,
}
Expand description
Represent an item in a StandardListView
Fieldsยง
ยงtext: SharedString
The text content of the item
Trait Implementationsยง
ยงimpl Clone for StandardListViewItem
impl Clone for StandardListViewItem
ยง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 moreยงimpl Debug for StandardListViewItem
impl Debug for StandardListViewItem
ยงimpl Default for StandardListViewItem
impl Default for StandardListViewItem
ยงfn default() -> StandardListViewItem
fn default() -> StandardListViewItem
Returns the โdefault valueโ for a type. Read more
ยงimpl From<&str> for StandardListViewItem
impl From<&str> for StandardListViewItem
ยงfn from(other: &str) -> StandardListViewItem
fn from(other: &str) -> StandardListViewItem
Converts to this type from the input type.
ยงfn from(other: SharedString) -> StandardListViewItem
fn from(other: SharedString) -> StandardListViewItem
Converts to this type from the input type.
ยงimpl PartialEq<StandardListViewItem> for StandardListViewItem
impl PartialEq<StandardListViewItem> for StandardListViewItem
ยงfn eq(&self, other: &StandardListViewItem) -> bool
fn eq(&self, other: &StandardListViewItem) -> bool
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> Instrument for T
impl<T> Instrument for T
sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
ยงimpl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
ยงfn null_value() -> T
fn null_value() -> T
The none-equivalent value.
ยงimpl<T> Pointable for T
impl<T> Pointable for T
sourceยงimpl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
sourceยงfn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.