pub struct Lib;
Expand description
Unit struct representing the core library.
Trait Implementations§
source§impl CoreLibrary for Lib
impl CoreLibrary for Lib
source§fn define_nil(&mut self, builder: TypeBuilder<()>) -> TypeBuilder<()>
fn define_nil(&mut self, builder: TypeBuilder<()>) -> TypeBuilder<()>
Defines the
Nil
type using the given type builder.source§fn define_boolean(&mut self, builder: TypeBuilder<bool>) -> TypeBuilder<bool>
fn define_boolean(&mut self, builder: TypeBuilder<bool>) -> TypeBuilder<bool>
Defines the
Boolean
type using the given type builder.source§fn define_number(&mut self, builder: TypeBuilder<f64>) -> TypeBuilder<f64>
fn define_number(&mut self, builder: TypeBuilder<f64>) -> TypeBuilder<f64>
Defines the
Number
type using the given type builder.source§fn define_string(&mut self, builder: TypeBuilder<String>) -> TypeBuilder<String>
fn define_string(&mut self, builder: TypeBuilder<String>) -> TypeBuilder<String>
Defines the
String
type using the given type builder.source§fn define_list(
&mut self,
builder: TypeBuilder<Vec<RawValue>>
) -> TypeBuilder<Vec<RawValue>>
fn define_list(
&mut self,
builder: TypeBuilder<Vec<RawValue>>
) -> TypeBuilder<Vec<RawValue>>
Defines the
List
type using the given type builder.source§fn define_dict(&mut self, builder: TypeBuilder<Dict>) -> TypeBuilder<Dict>
fn define_dict(&mut self, builder: TypeBuilder<Dict>) -> TypeBuilder<Dict>
Defines the
Dict
type using the given type builder.