Trait janetrs::IsJanetAbstract [−][src]
pub trait IsJanetAbstract { const SIZE: usize; fn type_info() -> &'static JanetAbstractType; }
Expand description
The trait that encodes the information required to instatiate the implementer as
JanetAbstract
Associated Constants
const SIZE: usize
[src]
const SIZE: usize
[src]The size of the type that is being transformed as JanetAbstract
.
Usually mem::size_of<Self>()
Required methods
fn type_info() -> &'static JanetAbstractType
[src]
fn type_info() -> &'static JanetAbstractType
[src]Returns the table of the name of the Self
and all possible polimorfic function
pointer that a Abstract type can have in Janet.
Implementations on Foreign Types
impl IsJanetAbstract for i64
[src]
impl IsJanetAbstract for i64
[src]impl IsJanetAbstract for u64
[src]
impl IsJanetAbstract for u64
[src]