Trait GenericOwnedBlockBody

Source
pub trait GenericOwnedBlockBody {
    type Body<'a>: GenericBlockBody<'a>
       where Self: 'a;

    // Required method
    fn body(&self) -> Self::Body<'_>;
}
Expand description

Generic owned block body

Required Associated Types§

Source

type Body<'a>: GenericBlockBody<'a> where Self: 'a

Block body

Required Methods§

Source

fn body(&self) -> Self::Body<'_>

Get regular block body out of the owned version

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§