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

Provided Methods§

source

fn content_changed(&self, provider: &Self::Type)

source

fn attach_clipboard(&self, provider: &Self::Type, clipboard: &Clipboard)

source

fn detach_clipboard(&self, provider: &Self::Type, clipboard: &Clipboard)

source

fn formats(&self, provider: &Self::Type) -> ContentFormats

source

fn storable_formats(&self, provider: &Self::Type) -> ContentFormats

source

fn write_mime_type_future( &self, provider: &Self::Type, mime_type: &str, stream: &OutputStream, io_priority: Priority ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static, Global>>

source

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

Implementors§