Skip to main content

MultiSelectableSelectionContainerDelegateData

Struct MultiSelectableSelectionContainerDelegateData 

Source
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: ChangeNotifierData

The 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: i32

The current selectable that contains the selection end edge, or -1.

§current_selection_start_index: i32

The current selectable that contains the selection start edge, or -1.

Implementations§

Source§

impl MultiSelectableSelectionContainerDelegateData

Source

pub fn new() -> MultiSelectableSelectionContainerDelegateData

Creates the delegate’s fields, with no selectables and no selection.

Trait Implementations§

Source§

impl Default for MultiSelectableSelectionContainerDelegateData

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

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 MultiSelectableSelectionContainerDelegateData
where *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
where *const u8 is !null: Unpin, Rc<dyn Fn(&mut App)>: Unpin, NonZero<u32>: Unpin, *const (): Unpin, Rc<Cell<usize>>: Unpin, &'static SelectableVTable: Unpin, Rc<Keep>: Unpin,

§

impl UnsafeUnpin for MultiSelectableSelectionContainerDelegateData
where *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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>