Trait spirv_std::vector::VectorTruncateInto
source · pub trait VectorTruncateInto<T> {
// Required method
fn truncate_into(self) -> T;
}
Expand description
Trait that implements slicing of a vector into a scalar or vector of lower dimensions, by ignoring the highter dimensions
Required Methods§
sourcefn truncate_into(self) -> T
fn truncate_into(self) -> T
Slices the vector into a lower dimensional type by ignoring the higher components