pub struct AnyInteractiveInkFeature { /* private fields */ }Expand description
Erased InteractiveInkFeature: one identity and a static vtable.
Equality is Dart’s == on an object reference.
Implementations§
Source§impl AnyInteractiveInkFeature
impl AnyInteractiveInkFeature
Sourcepub fn upgrade(self, app: &App) -> Option<Retained<AnyInteractiveInkFeature>>
pub fn upgrade(self, app: &App) -> Option<Retained<AnyInteractiveInkFeature>>
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<AnyInteractiveInkFeature>
pub fn keep(self, app: &App) -> Retained<AnyInteractiveInkFeature>
A reference to an object something is known to keep; see
Handle::keep.
Source§impl AnyInteractiveInkFeature
impl AnyInteractiveInkFeature
Sourcepub fn downcast<T: 'static>(self, app: &App) -> Option<Handle<T>>
pub fn downcast<T: 'static>(self, app: &App) -> Option<Handle<T>>
Dart’s feature as T: the typed handle when this feature is a T, else None.
Sourcepub fn as_ink_feature(self) -> AnyInkFeature
pub fn as_ink_feature(self) -> AnyInkFeature
This feature as the AnyInkFeature it is.
Sourcepub fn custom_border(self, app: &App) -> Option<ShapeBorderRef>
pub fn custom_border(self, app: &App) -> Option<ShapeBorderRef>
Sourcepub fn set_custom_border(self, app: &mut App, value: Option<ShapeBorderRef>)
pub fn set_custom_border(self, app: &mut App, value: Option<ShapeBorderRef>)
Trait Implementations§
Source§impl Clone for AnyInteractiveInkFeature
impl Clone for AnyInteractiveInkFeature
impl Copy for AnyInteractiveInkFeature
Source§impl Debug for AnyInteractiveInkFeature
impl Debug for AnyInteractiveInkFeature
impl Eq for AnyInteractiveInkFeature
Source§impl From<AnyInteractiveInkFeature> for HandleId
impl From<AnyInteractiveInkFeature> for HandleId
Source§fn from(handle: AnyInteractiveInkFeature) -> HandleId
fn from(handle: AnyInteractiveInkFeature) -> HandleId
Converts to this type from the input type.
Source§impl<Leaf: InteractiveInkFeatureLeaf> From<Handle<Leaf>> for AnyInteractiveInkFeature
impl<Leaf: InteractiveInkFeatureLeaf> From<Handle<Leaf>> for AnyInteractiveInkFeature
Source§fn from(handle: Handle<Leaf>) -> AnyInteractiveInkFeature
fn from(handle: Handle<Leaf>) -> AnyInteractiveInkFeature
Converts to this type from the input type.
Source§impl Hash for AnyInteractiveInkFeature
impl Hash for AnyInteractiveInkFeature
Source§impl PartialEq for AnyInteractiveInkFeature
impl PartialEq for AnyInteractiveInkFeature
Auto Trait Implementations§
impl Forget for AnyInteractiveInkFeature
impl Freeze for AnyInteractiveInkFeature
impl Move for AnyInteractiveInkFeature
impl RefUnwindSafe for AnyInteractiveInkFeature
impl Send for AnyInteractiveInkFeature
impl Sync for AnyInteractiveInkFeature
impl Unpin for AnyInteractiveInkFeature
impl UnsafeUnpin for AnyInteractiveInkFeaturewhere
NonZeroU32Inner: UnsafeUnpin,
&'static InteractiveInkFeatureVTable: UnsafeUnpin,
impl UnwindSafe for AnyInteractiveInkFeature
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.