pub trait AsBag {
    type Bag: ConstantBag;

    // Required method
    fn as_bag(self) -> Self::Bag;
}

Required Associated Types§

Required Methods§

source

fn as_bag(self) -> Self::Bag

Implementors§

source§

impl<'a> AsBag for &'a Context

§

type Bag = PyObjBag<'a>

source§

impl<'a> AsBag for &'a VirtualMachine

§

type Bag = PyObjBag<'a>

source§

impl<Bag> AsBag for Bagwhere Bag: ConstantBag,

§

type Bag = Bag