Skip to main content

IPackingAttributeMethods

Trait IPackingAttributeMethods 

Source
pub trait IPackingAttributeMethods: IPackingAttribute {
    // Provided methods
    fn ctor(
        self,
        display_names: impl Into<Array<Il2CppString>>,
        packing_scheme: impl Into<FieldPacking>,
        bit_size: impl Into<i32>,
        offset_in_source: impl Into<i32>,
        min_value: impl Into<f32>,
        max_value: impl Into<f32>,
        is_direction: impl Into<bool>,
        s_rgb_display: impl Into<bool>,
        check_is_normalized: impl Into<bool>,
    ) { ... }
    fn ctor_2(
        self,
        display_name: impl Into<Il2CppString>,
        packing_scheme: impl Into<FieldPacking>,
        bit_size: impl Into<i32>,
        offset_in_source: impl Into<i32>,
        min_value: impl Into<f32>,
        max_value: impl Into<f32>,
        is_direction: impl Into<bool>,
        s_rgb_display: impl Into<bool>,
        check_is_normalized: impl Into<bool>,
    ) { ... }
}

Provided Methods§

Source

fn ctor( self, display_names: impl Into<Array<Il2CppString>>, packing_scheme: impl Into<FieldPacking>, bit_size: impl Into<i32>, offset_in_source: impl Into<i32>, min_value: impl Into<f32>, max_value: impl Into<f32>, is_direction: impl Into<bool>, s_rgb_display: impl Into<bool>, check_is_normalized: impl Into<bool>, )

.ctor(::unity::Array<::unity::Il2CppString>, crate::unity_engine::rendering::fieldpacking::FieldPacking, i32, i32, f32, f32, bool, bool, bool) overload

Source

fn ctor_2( self, display_name: impl Into<Il2CppString>, packing_scheme: impl Into<FieldPacking>, bit_size: impl Into<i32>, offset_in_source: impl Into<i32>, min_value: impl Into<f32>, max_value: impl Into<f32>, is_direction: impl Into<bool>, s_rgb_display: impl Into<bool>, check_is_normalized: impl Into<bool>, )

.ctor(::unity::Il2CppString, crate::unity_engine::rendering::fieldpacking::FieldPacking, i32, i32, f32, f32, bool, bool, bool) 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§

Source§

impl<__T: IPackingAttribute> IPackingAttributeMethods for __T

Available on crate feature unity_engine-rendering-packingattribute only.