libadwaita::subclass::prelude

Trait ContentProviderImpl

Source
pub trait ContentProviderImpl: ContentProviderImplExt + ObjectImpl {
    // Provided methods
    fn content_changed(&self) { ... }
    fn attach_clipboard(&self, clipboard: &Clipboard) { ... }
    fn detach_clipboard(&self, clipboard: &Clipboard) { ... }
    fn formats(&self) -> ContentFormats { ... }
    fn storable_formats(&self) -> ContentFormats { ... }
    fn write_mime_type_future(
        &self,
        mime_type: &str,
        stream: &OutputStream,
        io_priority: Priority,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>>>> { ... }
    fn value(&self, type_: Type) -> Result<Value, Error> { ... }
}

Provided Methods§

Source

fn content_changed(&self)

Source

fn attach_clipboard(&self, clipboard: &Clipboard)

Source

fn detach_clipboard(&self, clipboard: &Clipboard)

Source

fn formats(&self) -> ContentFormats

Source

fn storable_formats(&self) -> ContentFormats

Source

fn write_mime_type_future( &self, mime_type: &str, stream: &OutputStream, io_priority: Priority, ) -> Pin<Box<dyn Future<Output = Result<(), Error>>>>

Source

fn value(&self, type_: Type) -> Result<Value, Error>

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§