ItemWithValue
struct · ferroui-dynamic-data · v0.5.0
struct ItemWithValue<T, V>
An item and a value that goes with it (ItemWithValue<TObject, TValue>): equal when both
parts are.
Members
new
fn new(item: T, value: V) -> Self
The pair (ItemWithValue(TObject, TValue)).
item
fn item(self: &Self) -> &T
The item (Item).
value
fn value(self: &Self) -> &V
The value (Value).
into_parts
fn into_parts(self: Self) -> (T, V)
The item and the value.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringEquivalent<K>CloneCopyDebugStructuralPartialEqPartialEqEqHashDisplay
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.