openvm_circuit::arch

Trait AnyEnum

Source
pub trait AnyEnum {
    // Required methods
    fn as_any_kind(&self) -> &dyn Any;
    fn as_any_kind_mut(&mut self) -> &mut dyn Any;
}
Expand description

A helper trait for downcasting types that may be enums.

Required Methods§

Source

fn as_any_kind(&self) -> &dyn Any

Recursively “unwraps” enum and casts to Any for downcasting.

Source

fn as_any_kind_mut(&mut self) -> &mut dyn Any

Recursively “unwraps” enum and casts to Any for downcasting.

Implementations on Foreign Types§

Source§

impl AnyEnum for ()

Source§

fn as_any_kind(&self) -> &dyn Any

Source§

fn as_any_kind_mut(&mut self) -> &mut dyn Any

Source§

impl AnyEnum for Arc<VariableRangeCheckerChip>

Source§

fn as_any_kind(&self) -> &dyn Any

Source§

fn as_any_kind_mut(&mut self) -> &mut dyn Any

Implementors§