Skip to main content

AsRunHandler

Trait AsRunHandler 

pub trait AsRunHandler<'a> {
    type RunHandler: AsNativeRunHandler + 'a;

    // Required method
    fn as_run_handler<'b>(&'b mut self) -> Self::RunHandler
       where 'b: 'a;
}

Required Associated Types§

Required Methods§

fn as_run_handler<'b>(&'b mut self) -> Self::RunHandler
where 'b: 'a,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

§

impl<'a, T> AsRunHandler<'a> for T
where T: RunHandler,

§

type RunHandler = RustRunHandler

§

impl<'a> AsRunHandler<'a> for TextBlobBuilderRunHandler<'_>

§

type RunHandler = &'a mut SkShaper_RunHandler