Trait AsBag

Source
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

Source§

type Bag = PyObjBag<'a>

Source§

impl<'a> AsBag for &'a VirtualMachine

Source§

type Bag = PyObjBag<'a>

Source§

impl<Bag> AsBag for Bag
where Bag: ConstantBag,

Source§

type Bag = Bag