Struct rustpython_compiler_core::bytecode::BasicBag
source · pub struct BasicBag;
Trait Implementations§
source§impl ConstantBag for BasicBag
impl ConstantBag for BasicBag
type Constant = ConstantData
fn make_constant<C: Constant>( &self, constant: BorrowedConstant<'_, C> ) -> Self::Constant
fn make_int(&self, value: BigInt) -> Self::Constant
fn make_tuple( &self, elements: impl Iterator<Item = Self::Constant> ) -> Self::Constant
fn make_code(&self, code: CodeObject<Self::Constant>) -> Self::Constant
fn make_name(&self, name: &str) -> <Self::Constant as Constant>::Name
impl Copy for BasicBag
Auto Trait Implementations§
impl Freeze for BasicBag
impl RefUnwindSafe for BasicBag
impl Send for BasicBag
impl Sync for BasicBag
impl Unpin for BasicBag
impl UnwindSafe for BasicBag
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more