pub trait CompileConst {
// Required method
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>;
}
Required Methods§
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Implementations on Foreign Types§
Source§impl CompileConst for bool
Available on crate feature bool
only.
impl CompileConst for bool
Available on crate feature
bool
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for i8
Available on crate feature i8
only.
impl CompileConst for i8
Available on crate feature
i8
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for i16
Available on crate feature i16
only.
impl CompileConst for i16
Available on crate feature
i16
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for i32
Available on crate feature i32
only.
impl CompileConst for i32
Available on crate feature
i32
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for i64
Available on crate feature i64
only.
impl CompileConst for i64
Available on crate feature
i64
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for i128
Available on crate feature i128
only.
impl CompileConst for i128
Available on crate feature
i128
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for u8
Available on crate feature u8
only.
impl CompileConst for u8
Available on crate feature
u8
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for u16
Available on crate feature u16
only.
impl CompileConst for u16
Available on crate feature
u16
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for u32
Available on crate feature u32
only.
impl CompileConst for u32
Available on crate feature
u32
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for u64
Available on crate feature u64
only.
impl CompileConst for u64
Available on crate feature
u64
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for u128
Available on crate feature u128
only.
impl CompileConst for u128
Available on crate feature
u128
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for usize
Available on crate feature compiler
only.
impl CompileConst for usize
Available on crate feature
compiler
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl CompileConst for String
Available on crate feature string
only.
impl CompileConst for String
Available on crate feature
string
only.fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for DMatrix<T>where
T: ConstElem + AsValueKind,
impl<T> CompileConst for DMatrix<T>where
T: ConstElem + AsValueKind,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for DVector<T>where
T: ConstElem + AsValueKind,
impl<T> CompileConst for DVector<T>where
T: ConstElem + AsValueKind,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for RowDVector<T>where
T: ConstElem + AsValueKind,
impl<T> CompileConst for RowDVector<T>where
T: ConstElem + AsValueKind,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Implementors§
impl CompileConst for Value
Available on crate feature
compiler
only.impl CompileConst for MechEnum
Available on crate feature
enum
only.impl CompileConst for MechRecord
Available on crate feature
record
only.impl CompileConst for MechSet
Available on crate feature
set
only.impl CompileConst for MechTable
Available on crate feature
table
only.impl CompileConst for MechAtom
Available on crate feature
atom
only.impl CompileConst for C64
Available on crate feature
complex
only.impl CompileConst for F32
Available on crate feature
f32
only.impl CompileConst for F64
Available on crate features
f64
and compiler
only.impl CompileConst for R64
Available on crate feature
rational
only.impl<T> CompileConst for Matrix<T>
Available on crate feature
matrix
only.impl<T> CompileConst for Ref<DMatrix<T>>
Available on crate feature
matrixd
only.impl<T> CompileConst for Ref<DVector<T>>
Available on crate feature
vectord
only.impl<T> CompileConst for Ref<RowDVector<T>>
Available on crate feature
row_vectord
only.