cfg_traits

Trait Func

Source
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§

Source

type Block

Source

type Blocks: Arena<Self::Block, Output: Block<Self>>

Required Methods§

Source

fn blocks(&self) -> &Self::Blocks

Source

fn blocks_mut(&mut self) -> &mut Self::Blocks

Source

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.

Implementors§