pub trait Func {
type Block;
type Blocks: Arena<Self::Block, Output: Block<Self>>;
// Required methods
fn blocks(&self) -> &Self::Blocks;
fn blocks_mut(&mut self) -> &mut Self::Blocks;
fn entry(&self) -> Self::Block;
}
Required Associated Types§
Required Methods§
fn blocks(&self) -> &Self::Blocks
fn blocks_mut(&mut self) -> &mut Self::Blocks
fn entry(&self) -> Self::Block
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.