pub trait BackendWriter {
Show 13 methods fn needs_cstyle_struct_cons(&self) -> bool; fn needs_mul_fn_for_matrix_multiplication(&self) -> bool; fn needs_unpack_for_matrix_multiplication(&self) -> bool; fn const_table_is_vec4(&self) -> bool; fn enum_is_float(&self) -> bool; fn use_cons_fn(&self, what: &str) -> bool; fn write_var_decl(
        &self,
        string: &mut String,
        sep: &'static str,
        is_inout: bool,
        is_packed: bool,
        ident: &dyn Display,
        ty: &Ty
    ) -> bool; fn write_call_expr_hidden_args(
        &self,
        string: &mut String,
        hidden_args: &BTreeSet<HiddenArgKind>,
        sep: &str
    ); fn write_fn_def_hidden_params(
        &self,
        string: &mut String,
        hidden_args: &BTreeSet<HiddenArgKind>,
        sep: &str
    ); fn generate_live_value_prefix(&self, string: &mut String); fn generate_draw_shader_field_expr(
        &self,
        string: &mut String,
        field_ident: Ident,
        ty: &Ty
    ); fn write_ty_lit(&self, string: &mut String, ty_lit: TyLit); fn write_builtin_call_ident(
        &self,
        string: &mut String,
        ident: Ident,
        arg_exprs: &[Expr]
    );
}

Required Methods

Implementors