Struct librsnek::objects::integer::PyIntegerType
[−]
[src]
pub struct PyIntegerType {
static_integers: Vec<RtObject>,
}Fields
static_integers: Vec<RtObject>
Trait Implementations
impl Clone for PyIntegerType[src]
fn clone(&self) -> PyIntegerType
Returns a copy of the value.
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source.
impl BuiltinType for PyIntegerType[src]
type T = RefCountedValue<IntValue, RefCount>
type V = Integer
fn new(&self, rt: &Runtime, value: Integer) -> RtObject
Create a new instance of the primitve type that his reference counted
fn init_type() -> Self
Create the type and do any static initialization that may be needed
fn inject_selfref(value: RefCountedValue<IntValue, RefCount>) -> RtObject
fn alloc(value: Self::V) -> Self::T
Create an instance of the type ane return the struct that contains