[][src]Struct python_object::CodeObject

pub struct CodeObject {
    pub argcount: u32,
    pub kwonlyargcount: u32,
    pub nlocals: u32,
    pub stacksize: u32,
    pub flags: u32,
    pub code: Vec<Opcode>,
    pub consts: RefCell<TupleObject>,
    pub names: Box<RefCell<Object>>,
    pub name: Box<RefCell<Object>>,
    pub varnames: Box<Object>,
}

Fields

argcount: u32kwonlyargcount: u32nlocals: u32stacksize: u32flags: u32code: Vec<Opcode>consts: RefCell<TupleObject>names: Box<RefCell<Object>>name: Box<RefCell<Object>>varnames: Box<Object>

Implementations

impl CodeObject[src]

Trait Implementations

impl Clone for CodeObject[src]

impl Debug for CodeObject[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.