pub trait IGenerateHLSLMethods: IGenerateHLSL {
// Provided method
fn ctor(
self,
rules: impl Into<PackingRules>,
need_accessors: impl Into<bool>,
need_setters: impl Into<bool>,
need_param_debug: impl Into<bool>,
param_defines_start: impl Into<i32>,
omit_struct_declaration: impl Into<bool>,
contains_packed_fields: impl Into<bool>,
generate_c_buffer: impl Into<bool>,
constant_register: impl Into<i32>,
) { ... }
}Provided Methods§
Sourcefn ctor(
self,
rules: impl Into<PackingRules>,
need_accessors: impl Into<bool>,
need_setters: impl Into<bool>,
need_param_debug: impl Into<bool>,
param_defines_start: impl Into<i32>,
omit_struct_declaration: impl Into<bool>,
contains_packed_fields: impl Into<bool>,
generate_c_buffer: impl Into<bool>,
constant_register: impl Into<i32>,
)
fn ctor( self, rules: impl Into<PackingRules>, need_accessors: impl Into<bool>, need_setters: impl Into<bool>, need_param_debug: impl Into<bool>, param_defines_start: impl Into<i32>, omit_struct_declaration: impl Into<bool>, contains_packed_fields: impl Into<bool>, generate_c_buffer: impl Into<bool>, constant_register: impl Into<i32>, )
.ctor(crate::unity_engine::rendering::packingrules::PackingRules, bool, bool, bool, i32, bool, bool, bool, i32) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IGenerateHLSL> IGenerateHLSLMethods for __T
Available on crate feature
unity_engine-rendering-generatehlsl only.