CompileConst

Trait CompileConst 

Source
pub trait CompileConst {
    // Required method
    fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>;
}

Required Methods§

Source

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Implementations on Foreign Types§

Source§

impl CompileConst for bool

Available on crate feature bool only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for i8

Available on crate feature i8 only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for i16

Available on crate feature i16 only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for i32

Available on crate feature i32 only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for i64

Available on crate feature i64 only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for i128

Available on crate feature i128 only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for u8

Available on crate feature u8 only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for u16

Available on crate feature u16 only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for u32

Available on crate feature u32 only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for u64

Available on crate feature u64 only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for u128

Available on crate feature u128 only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for usize

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl CompileConst for String

Available on crate feature string only.
Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for DMatrix<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for DVector<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for Matrix1<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for Matrix2<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for Matrix2x3<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for Matrix3<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for Matrix3x2<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for Matrix4<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for RowDVector<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for RowVector2<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for RowVector3<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for RowVector4<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for Vector2<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for Vector3<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Source§

impl<T> CompileConst for Vector4<T>
where T: ConstElem,

Source§

fn compile_const(&self, ctx: &mut CompileCtx) -> MResult<u32>

Implementors§

Source§

impl CompileConst for Value

Available on crate feature compiler only.
Source§

impl CompileConst for MechRecord

Available on crate feature record only.
Source§

impl CompileConst for MechTable

Available on crate feature table only.
Source§

impl CompileConst for MechAtom

Available on crate feature atom only.
Source§

impl CompileConst for C64

Available on crate feature complex only.
Source§

impl CompileConst for F32

Available on crate feature f32 only.
Source§

impl CompileConst for F64

Available on crate feature f64 only.
Source§

impl CompileConst for R64

Available on crate feature rational only.
Source§

impl<T> CompileConst for Matrix<T>

Available on crate feature matrix only.
Source§

impl<T> CompileConst for Ref<DMatrix<T>>

Available on crate feature matrixd only.
Source§

impl<T> CompileConst for Ref<DVector<T>>

Available on crate feature vectord only.
Source§

impl<T> CompileConst for Ref<RowDVector<T>>

Available on crate feature row_vectord only.