libadwaita::subclass::prelude

Trait ContentProviderImpl

source
pub trait ContentProviderImpl: ObjectImpl + ObjectSubclass
where Self::Type: IsA<ContentProvider>,
{ // 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§