pub struct AnyMaterialInkController { /* private fields */ }Expand description
Erased MaterialInkController: one identity and a static vtable.
Equality is Dart’s == on an object reference.
Implementations§
Source§impl AnyMaterialInkController
impl AnyMaterialInkController
Sourcepub fn vsync(self, app: &App) -> Rc<dyn TickerProvider>
pub fn vsync(self, app: &App) -> Rc<dyn TickerProvider>
Sourcepub fn add_ink_feature(self, app: &mut App, feature: InkFeatureRef)
pub fn add_ink_feature(self, app: &mut App, feature: InkFeatureRef)
Sourcepub fn mark_needs_paint(self, app: &mut App)
pub fn mark_needs_paint(self, app: &mut App)
Sourcepub fn downcast<T: 'static>(self, app: &App) -> Option<Handle<T>>
pub fn downcast<T: 'static>(self, app: &App) -> Option<Handle<T>>
Dart’s controller as T: the typed handle when this controller is a T, else None.
Sourcepub fn mark_needs_paint_listener(self) -> Listener
pub fn mark_needs_paint_listener(self) -> Listener
Dart’s controller.markNeedsPaint tear-off, as a listener an ink feature’s animation
controllers call.
Trait Implementations§
Source§impl Clone for AnyMaterialInkController
impl Clone for AnyMaterialInkController
impl Copy for AnyMaterialInkController
Source§impl Debug for AnyMaterialInkController
impl Debug for AnyMaterialInkController
impl Eq for AnyMaterialInkController
Auto Trait Implementations§
impl Forget for AnyMaterialInkController
impl Freeze for AnyMaterialInkController
impl Move for AnyMaterialInkController
impl RefUnwindSafe for AnyMaterialInkController
impl Send for AnyMaterialInkController
impl Sync for AnyMaterialInkController
impl Unpin for AnyMaterialInkController
impl UnsafeUnpin for AnyMaterialInkControllerwhere
NonZeroU32Inner: UnsafeUnpin,
&'static MaterialInkControllerVTable: UnsafeUnpin,
impl UnwindSafe for AnyMaterialInkController
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
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.