FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TextInputMethodCommit

    struct · ferroui-base · v0.5.0

    struct TextInputMethodCommit
    

    The accepted input request attached to raw and routed text input. The owner checks is_current immediately before editing, then acknowledges the real result; an application handling the event does not imply an accepted edit.

    View source

    Members

    edit

    fn edit(self: &Self) -> Option<&TextInputMethodEdit>
    

    Source

    completes_composition

    fn completes_composition(self: &Self) -> bool
    

    Source

    owner

    fn owner(self: &Self) -> Option<Ref<InputElement>>
    

    Source

    is_current

    fn is_current(self: &Self) -> bool
    

    Source

    complete

    fn complete(self: &Self, result: Result<bool, TextInputMethodError>)
    

    Source

    Trait implementations

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

    Availability

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