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§
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>
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.