Struct librsnek::objects::none::PyNoneType
[−]
[src]
pub struct PyNoneType { singleton_none: RtObject, }
Fields
singleton_none: RtObject
Trait Implementations
impl BuiltinType for PyNoneType
[src]
type T = RefCountedValue<NoneValue, RefCount>
type V = &'static None
fn new(&self, rt: &Runtime, value: Self::V) -> 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: Self::T) -> RtObject
fn alloc(value: Self::V) -> Self::T
Create an instance of the type ane return the struct that contains