#[non_exhaustive]pub struct ItemConfig {
pub transfer_complete_mode: TransferCompleteMode,
}Expand description
Configuration common to all linked-list item types.
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.transfer_complete_mode: TransferCompleteModeTransfer complete event mode for this item.
Trait Implementations§
Source§impl Clone for ItemConfig
impl Clone for ItemConfig
Source§fn clone(&self) -> ItemConfig
fn clone(&self) -> ItemConfig
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 ItemConfig
impl Debug for ItemConfig
Source§impl Default for ItemConfig
impl Default for ItemConfig
Source§impl Format for ItemConfigwhere
TransferCompleteMode: Format,
impl Format for ItemConfigwhere
TransferCompleteMode: Format,
impl Copy for ItemConfig
Auto Trait Implementations§
impl Freeze for ItemConfig
impl RefUnwindSafe for ItemConfig
impl Send for ItemConfig
impl Sync for ItemConfig
impl Unpin for ItemConfig
impl UnwindSafe for ItemConfig
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