gdk4::subclass::content_provider

Trait ContentProviderImplExt

Source
pub trait ContentProviderImplExt: ContentProviderImpl {
    // Provided methods
    fn parent_content_changed(&self) { ... }
    fn parent_attach_clipboard(&self, clipboard: &Clipboard) { ... }
    fn parent_detach_clipboard(&self, clipboard: &Clipboard) { ... }
    fn parent_formats(&self) -> ContentFormats { ... }
    fn parent_storable_formats(&self) -> ContentFormats { ... }
    fn parent_write_mime_type_async<Q: IsA<Cancellable>, R: FnOnce(Result<(), Error>) + 'static>(
        &self,
        mime_type: &str,
        stream: &OutputStream,
        io_priority: Priority,
        cancellable: Option<&Q>,
        callback: R,
    ) { ... }
    fn parent_write_mime_type_future(
        &self,
        mime_type: &str,
        stream: &OutputStream,
        io_priority: Priority,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>> { ... }
    fn parent_value(&self, type_: Type) -> Result<Value, Error> { ... }
}

Provided Methods§

Source

fn parent_content_changed(&self)

Source

fn parent_attach_clipboard(&self, clipboard: &Clipboard)

Source

fn parent_detach_clipboard(&self, clipboard: &Clipboard)

Source

fn parent_formats(&self) -> ContentFormats

Source

fn parent_storable_formats(&self) -> ContentFormats

Source

fn parent_write_mime_type_async<Q: IsA<Cancellable>, R: FnOnce(Result<(), Error>) + 'static>( &self, mime_type: &str, stream: &OutputStream, io_priority: Priority, cancellable: Option<&Q>, callback: R, )

Source

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

Source

fn parent_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§