Skip to main content

ToExtents

Trait ToExtents 

Source
pub trait ToExtents {
    // Required method
    fn to_extents(self) -> Extent3d;
}
Expand description

A trait for creating Extent3d values.

Required Methods§

Source

fn to_extents(self) -> Extent3d

Converts this type to an Extent3d.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToExtents for UVec2

Source§

impl ToExtents for UVec3

Implementors§