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

Source§

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

Source§

impl CompileConst for i8

Source§

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

Source§

impl CompileConst for i16

Source§

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

Source§

impl CompileConst for i32

Source§

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

Source§

impl CompileConst for i64

Source§

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

Source§

impl CompileConst for i128

Source§

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

Source§

impl CompileConst for u8

Source§

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

Source§

impl CompileConst for u16

Source§

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

Source§

impl CompileConst for u32

Source§

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

Source§

impl CompileConst for u64

Source§

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

Source§

impl CompileConst for u128

Source§

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

Source§

impl CompileConst for String

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§