pub struct AnyDataTableSource { /* private fields */ }Expand description
Erased DataTableSource: what a field or parameter Dart types as DataTableSource
becomes.
Equality is Dart’s == on an object reference.
Implementations§
Source§impl AnyDataTableSource
impl AnyDataTableSource
Sourcepub fn upgrade(self, app: &App) -> Option<Retained<AnyDataTableSource>>
pub fn upgrade(self, app: &App) -> Option<Retained<AnyDataTableSource>>
A reference while something still keeps the object, None once it is freed or
its last keeper has let go; see Handle::upgrade.
Sourcepub fn keep(self, app: &App) -> Retained<AnyDataTableSource>
pub fn keep(self, app: &App) -> Retained<AnyDataTableSource>
A reference to an object something is known to keep; see
Handle::keep.
Source§impl AnyDataTableSource
impl AnyDataTableSource
Sourcepub fn runtime_type(self) -> TypeId
pub fn runtime_type(self) -> TypeId
Dart’s runtimeType.
Sourcepub fn downcast<S: 'static>(self, app: &App) -> Option<Handle<S>>
pub fn downcast<S: 'static>(self, app: &App) -> Option<Handle<S>>
Dart’s source as S: the typed handle when this source is an S, else None.
Sourcepub fn is_row_count_approximate(self, app: &App) -> bool
pub fn is_row_count_approximate(self, app: &App) -> bool
Sourcepub fn selected_row_count(self, app: &App) -> usize
pub fn selected_row_count(self, app: &App) -> usize
Trait Implementations§
Source§impl Clone for AnyDataTableSource
impl Clone for AnyDataTableSource
impl Copy for AnyDataTableSource
Source§impl Debug for AnyDataTableSource
impl Debug for AnyDataTableSource
impl Eq for AnyDataTableSource
Source§impl From<AnyDataTableSource> for HandleId
impl From<AnyDataTableSource> for HandleId
Source§fn from(handle: AnyDataTableSource) -> HandleId
fn from(handle: AnyDataTableSource) -> HandleId
Converts to this type from the input type.
Source§impl<Leaf: DataTableSource> From<Handle<Leaf>> for AnyDataTableSource
impl<Leaf: DataTableSource> From<Handle<Leaf>> for AnyDataTableSource
Source§fn from(handle: Handle<Leaf>) -> AnyDataTableSource
fn from(handle: Handle<Leaf>) -> AnyDataTableSource
Converts to this type from the input type.
Source§impl Hash for AnyDataTableSource
impl Hash for AnyDataTableSource
Source§impl Listenable for AnyDataTableSource
impl Listenable for AnyDataTableSource
Source§fn add_listener(&self, app: &mut App, listener: Listener)
fn add_listener(&self, app: &mut App, listener: Listener)
Register a closure to be called when the object notifies its listeners.
Source§fn remove_listener(&self, app: &mut App, listener: &Listener)
fn remove_listener(&self, app: &mut App, listener: &Listener)
Remove a previously registered closure from the list of closures that the
object notifies.
Source§impl PartialEq for AnyDataTableSource
impl PartialEq for AnyDataTableSource
Source§impl PartialEq<AnyDataTableSource> for &Retained<AnyDataTableSource>
impl PartialEq<AnyDataTableSource> for &Retained<AnyDataTableSource>
Auto Trait Implementations§
impl Forget for AnyDataTableSource
impl Freeze for AnyDataTableSource
impl Move for AnyDataTableSource
impl RefUnwindSafe for AnyDataTableSource
impl Send for AnyDataTableSource
impl Sync for AnyDataTableSource
impl Unpin for AnyDataTableSource
impl UnsafeUnpin for AnyDataTableSourcewhere
NonZeroU32Inner: UnsafeUnpin,
&'static DataTableSourceVTable: UnsafeUnpin,
impl UnwindSafe for AnyDataTableSource
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.