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
impl CompileConst for usize
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,
impl<T> CompileConst for DMatrix<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for DVector<T>where
T: ConstElem,
impl<T> CompileConst for DVector<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for Matrix1<T>where
T: ConstElem,
impl<T> CompileConst for Matrix1<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for Matrix2<T>where
T: ConstElem,
impl<T> CompileConst for Matrix2<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for Matrix2x3<T>where
T: ConstElem,
impl<T> CompileConst for Matrix2x3<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for Matrix3<T>where
T: ConstElem,
impl<T> CompileConst for Matrix3<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for Matrix3x2<T>where
T: ConstElem,
impl<T> CompileConst for Matrix3x2<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for Matrix4<T>where
T: ConstElem,
impl<T> CompileConst for Matrix4<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for RowDVector<T>where
T: ConstElem,
impl<T> CompileConst for RowDVector<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for RowVector2<T>where
T: ConstElem,
impl<T> CompileConst for RowVector2<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for RowVector3<T>where
T: ConstElem,
impl<T> CompileConst for RowVector3<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for RowVector4<T>where
T: ConstElem,
impl<T> CompileConst for RowVector4<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for Vector2<T>where
T: ConstElem,
impl<T> CompileConst for Vector2<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for Vector3<T>where
T: ConstElem,
impl<T> CompileConst for Vector3<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Source§impl<T> CompileConst for Vector4<T>where
T: ConstElem,
impl<T> CompileConst for Vector4<T>where
T: ConstElem,
fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>
Implementors§
impl CompileConst for Value
Available on crate feature
compiler only.impl CompileConst for MechRecord
Available on crate feature
record 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 feature
f64 only.impl CompileConst for R64
Available on crate feature
rational only.impl<T> CompileConst for Matrix<T>where
T: CompileConst + ConstElem,
Available on crate feature
matrix only.impl<T> CompileConst for Ref<DMatrix<T>>where
T: CompileConst + ConstElem,
Available on crate feature
matrixd only.impl<T> CompileConst for Ref<DVector<T>>where
T: CompileConst + ConstElem,
Available on crate feature
vectord only.impl<T> CompileConst for Ref<RowDVector<T>>where
T: CompileConst + ConstElem,
Available on crate feature
row_vectord only.