FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RawTextInputEventArgs

    struct · ferroui-base · v0.5.0

    struct RawTextInputEventArgs
    

    A raw text input event.

    View source

    Members

    new

    fn new(device: Rc<dyn IInputDevice>, timestamp: u64, root: Rc<dyn IInputRoot>, text: impl Into<String>) -> Self
    

    Creates raw text input event args. device is the keyboard device the text comes from.

    Source

    input_method_commit

    fn input_method_commit(self: &Self) -> Option<&Rc<TextInputMethodCommit>>
    

    The captured owner and acceptance of a managed platform commit.

    Source

    text

    fn text(self: &Self) -> &str
    

    The text that was input.

    Source

    Trait implementations

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

    Availability

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