pub trait GenericOwnedBlockBody:
Clone
+ Debug
+ 'static {
type Body<'a>: GenericBlockBody<'a>
where Self: 'a;
// Required method
fn body(&self) -> &Self::Body<'_>;
}
Expand description
Generic owned block body
Required Associated Types§
Sourcetype Body<'a>: GenericBlockBody<'a>
where
Self: 'a
type Body<'a>: GenericBlockBody<'a> where Self: 'a
Block body
Required Methods§
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.