Skip to main content

ContextOwner

Trait ContextOwner 

Source
pub trait ContextOwner {
    // Required method
    fn context(&self) -> &Context;
}
Expand description

Context owner.

Required Methods§

Source

fn context(&self) -> &Context

Returns a system context.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§