Trait ProvideInner

Source
pub trait ProvideInner<Context> {
    type Inner;

    // Required method
    fn inner(context: &Context) -> &Self::Inner;
}

Required Associated Types§

Required Methods§

Source

fn inner(context: &Context) -> &Self::Inner

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<Component, Context> ProvideInner<Context> for Component
where Component: DelegateComponent<InnerComponent>, Component::Delegate: ProvideInner<Context>,