revm_context_interface::cfg

Trait CfgGetter

Source
pub trait CfgGetter {
    type Cfg: Cfg;

    // Required method
    fn cfg(&self) -> &Self::Cfg;
}

Required Associated Types§

Required Methods§

Source

fn cfg(&self) -> &Self::Cfg

Implementations on Foreign Types§

Source§

impl<'a, T: 'a + CfgGetter + ?Sized> CfgGetter for &'a T

Source§

type Cfg = <T as CfgGetter>::Cfg

Source§

fn cfg(&self) -> &Self::Cfg

Source§

impl<'a, T: 'a + CfgGetter + ?Sized> CfgGetter for &'a mut T

Source§

type Cfg = <T as CfgGetter>::Cfg

Source§

fn cfg(&self) -> &Self::Cfg

Source§

impl<T: CfgGetter + ?Sized> CfgGetter for Box<T>

Source§

type Cfg = <T as CfgGetter>::Cfg

Source§

fn cfg(&self) -> &Self::Cfg

Source§

impl<T: CfgGetter + ?Sized> CfgGetter for Arc<T>

Source§

type Cfg = <T as CfgGetter>::Cfg

Source§

fn cfg(&self) -> &Self::Cfg

Implementors§