FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RichEditCompositionEventArgs

    struct · ferroui-controls · v0.5.0

    struct RichEditCompositionEventArgs
    

    View source

    Members

    text

    text: String
    

    Source

    selection

    selection: rich_text_editor::EditorSelection
    

    Source

    committed

    committed: bool
    

    Source

    start_index

    fn start_index(self: &Self) -> i32
    

    UTF-16 start of the whole accepted composition, independently of its current caret. An unavailable or unrepresentable range has index -1.

    Source

    length

    fn length(self: &Self) -> i32
    

    UTF-16 length of the whole accepted composition. Cancellation has an empty range at its former start in the restored committed document.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Default
    • Deref
    • IRoutedEventArgs
    • MarkupTyped

    Availability

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