Trait InitableExt

Source
pub trait InitableExt: IsA<Initable> + 'static {
    // Provided method
    unsafe fn init(
        &self,
        cancellable: Option<&impl IsA<Cancellable>>,
    ) -> Result<(), Error> { ... }
}

Provided Methods§

Source

unsafe fn init( &self, cancellable: Option<&impl IsA<Cancellable>>, ) -> Result<(), 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§

Source§

impl<O> InitableExt for O
where O: IsA<Initable>,