Trait EditorStateExt

Source
pub trait EditorStateExt:
    IsA<EditorState>
    + Sealed
    + 'static {
    // Provided methods
    fn typing_attributes(&self) -> u32 { ... }
    fn is_copy_available(&self) -> bool { ... }
    fn is_cut_available(&self) -> bool { ... }
    fn is_paste_available(&self) -> bool { ... }
    fn is_redo_available(&self) -> bool { ... }
    fn is_undo_available(&self) -> bool { ... }
    fn connect_typing_attributes_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Available on crate feature v2_10 only.

Provided Methods§

Source

fn typing_attributes(&self) -> u32

Source

fn is_copy_available(&self) -> bool

Available on crate feature v2_20 only.
Source

fn is_cut_available(&self) -> bool

Available on crate feature v2_20 only.
Source

fn is_paste_available(&self) -> bool

Available on crate feature v2_20 only.
Source

fn is_redo_available(&self) -> bool

Available on crate feature v2_20 only.
Source

fn is_undo_available(&self) -> bool

Available on crate feature v2_20 only.
Source

fn connect_typing_attributes_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§