pub struct InkStrokeInput { /* private fields */ }Expand description
Stable presenter-owned input event service, with a weak back-pointer.
Implementations§
Source§impl InkStrokeInput
impl InkStrokeInput
pub fn ink_presenter(&self) -> Option<Rc<InkPresenter>>
pub fn stroke_started( &self, handler: impl Fn(&InkPointerEventArgs) + 'static, ) -> Rc<dyn IDisposable>
pub fn stroke_continued( &self, handler: impl Fn(&InkPointerEventArgs) + 'static, ) -> Rc<dyn IDisposable>
pub fn stroke_ended( &self, handler: impl Fn(&InkPointerEventArgs) + 'static, ) -> Rc<dyn IDisposable>
pub fn stroke_canceled( &self, handler: impl Fn(&InkPointerEventArgs) + 'static, ) -> Rc<dyn IDisposable>
Trait Implementations§
Source§impl MarkupTyped for InkStrokeInput
impl MarkupTyped for InkStrokeInput
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Auto Trait Implementations§
impl !RefUnwindSafe for InkStrokeInput
impl !Send for InkStrokeInput
impl !Sync for InkStrokeInput
impl !UnwindSafe for InkStrokeInput
impl Freeze for InkStrokeInput
impl Unpin for InkStrokeInput
impl UnsafeUnpin for InkStrokeInput
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more