Struct librsnek::objects::float::PyFloatType
[−]
[src]
pub struct PyFloatType {}
Trait Implementations
impl Clone for PyFloatType
[src]
fn clone(&self) -> PyFloatType
Returns a copy of the value.
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
.
impl BuiltinType for PyFloatType
[src]
type T = RefCountedValue<FloatValue, RefCount>
type V = Float
fn new(&self, rt: &Runtime, value: Float) -> 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<FloatValue, RefCount>) -> RtObject
fn alloc(value: Self::V) -> Self::T
Create an instance of the type ane return the struct that contains