DecomposeIn

Trait DecomposeIn 

Source
pub trait DecomposeIn<Cell> {
    // Required method
    fn cells(&self) -> impl IntoIterator<Item = Cell>;
}
Expand description

Implementations of this trait represent complex types that aggregate a collection of [AssignedCell] values.

Required Methods§

Source

fn cells(&self) -> impl IntoIterator<Item = Cell>

Returns an iterator of [Cell] instances.

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.

Implementations on Foreign Types§

Source§

impl<Cell> DecomposeIn<Cell> for u32

Source§

fn cells(&self) -> impl IntoIterator<Item = Cell>

Source§

impl<Cell, T: DecomposeIn<Cell>> DecomposeIn<Cell> for &[T]

Source§

fn cells(&self) -> impl IntoIterator<Item = Cell>

Source§

impl<Cell, T: DecomposeIn<Cell>> DecomposeIn<Cell> for Option<T>

Source§

fn cells(&self) -> impl IntoIterator<Item = Cell>

Source§

impl<Cell, T: DecomposeIn<Cell>> DecomposeIn<Cell> for Vec<T>

Source§

fn cells(&self) -> impl IntoIterator<Item = Cell>

Source§

impl<Cell, T: DecomposeIn<Cell>, E> DecomposeIn<Cell> for Result<T, E>

Source§

fn cells(&self) -> impl IntoIterator<Item = Cell>

Source§

impl<Cell, T: DecomposeIn<Cell>, const N: usize> DecomposeIn<Cell> for [T; N]

Source§

fn cells(&self) -> impl IntoIterator<Item = Cell>

Implementors§