pub struct MultiSelectableSelectionContainerDelegateData {
pub change_notifier: ChangeNotifierData,
pub selectables: Vec<AnySelectable>,
pub current_selection_end_index: i32,
pub current_selection_start_index: i32,
/* private fields */
}Expand description
The fields of Dart’s MultiSelectableSelectionContainerDelegate.
Fields§
§change_notifier: ChangeNotifierDataThe ChangeNotifier side of the delegate; notify_listeners runs it.
selectables: Vec<AnySelectable>Gets the list of AnySelectables this delegate is managing.
current_selection_end_index: i32The current selectable that contains the selection end edge, or -1.
current_selection_start_index: i32The current selectable that contains the selection start edge, or -1.
Implementations§
Source§impl MultiSelectableSelectionContainerDelegateData
impl MultiSelectableSelectionContainerDelegateData
Sourcepub fn new() -> MultiSelectableSelectionContainerDelegateData
pub fn new() -> MultiSelectableSelectionContainerDelegateData
Creates the delegate’s fields, with no selectables and no selection.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MultiSelectableSelectionContainerDelegateData
impl !Send for MultiSelectableSelectionContainerDelegateData
impl !Sync for MultiSelectableSelectionContainerDelegateData
impl !UnwindSafe for MultiSelectableSelectionContainerDelegateData
impl Forget for MultiSelectableSelectionContainerDelegateData
impl Freeze for MultiSelectableSelectionContainerDelegateDatawhere
*const u8 is !null: Freeze,
PhantomData<Option<Listener>>: Freeze,
*const RcInner<Cell<usize>> is !null: Freeze,
PhantomData<RcInner<Cell<usize>>>: Freeze,
PhantomData<AnySelectable>: Freeze,
NonZero<u32>: Freeze,
PhantomData<fn() -> LayerLink>: Freeze,
*const RcInner<Keep> is !null: Freeze,
PhantomData<RcInner<Keep>>: Freeze,
&'static SelectableVTable: Freeze,
PhantomData<Rect>: Freeze,
impl Move for MultiSelectableSelectionContainerDelegateData
impl Unpin for MultiSelectableSelectionContainerDelegateData
impl UnsafeUnpin for MultiSelectableSelectionContainerDelegateDatawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Option<Listener>>: UnsafeUnpin,
*const RcInner<Cell<usize>> is !null: UnsafeUnpin,
PhantomData<RcInner<Cell<usize>>>: UnsafeUnpin,
PhantomData<AnySelectable>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
PhantomData<fn() -> LayerLink>: UnsafeUnpin,
*const RcInner<Keep> is !null: UnsafeUnpin,
PhantomData<RcInner<Keep>>: UnsafeUnpin,
&'static SelectableVTable: UnsafeUnpin,
PhantomData<Rect>: UnsafeUnpin,
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