Skip to main content

IHLSLArrayMethods

Trait IHLSLArrayMethods 

Source
pub trait IHLSLArrayMethods: IHLSLArray {
    // Provided method
    fn ctor(
        self,
        array_size: impl Into<i32>,
        element_type: impl Into<SystemType>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self, array_size: impl Into<i32>, element_type: impl Into<SystemType>)

.ctor(i32, ::unity::SystemType) 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: IHLSLArray> IHLSLArrayMethods for __T

Available on crate feature unity_engine-rendering-hlslarray only.