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>> + 'static, Global>> { ... }
    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>> + 'static, Global>>

source

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

Implementors§