FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InkStrokeInput

    struct · ferroui-controls-inking · v0.5.0

    struct InkStrokeInput
    

    Stable presenter-owned input event service, with a weak back-pointer.

    View source

    Members

    ink_presenter

    fn ink_presenter(self: &Self) -> Option<Rc<InkPresenter>>
    

    Source

    stroke_started

    fn stroke_started(self: &Self, handler: impl Fn(&InkPointerEventArgs) -> () + 'static) -> Rc<dyn IDisposable>
    

    Source

    stroke_continued

    fn stroke_continued(self: &Self, handler: impl Fn(&InkPointerEventArgs) -> () + 'static) -> Rc<dyn IDisposable>
    

    Source

    stroke_ended

    fn stroke_ended(self: &Self, handler: impl Fn(&InkPointerEventArgs) -> () + 'static) -> Rc<dyn IDisposable>
    

    Source

    stroke_canceled

    fn stroke_canceled(self: &Self, handler: impl Fn(&InkPointerEventArgs) -> () + 'static) -> Rc<dyn IDisposable>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • IUnknownImpl
    • MarkupTyped
    • PartialEq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.