#[repr(C)]pub struct Extent3D {
pub x: u32,
pub y: u32,
pub z: u32,
}Expand description
Represents the dimensions of a volume on a 3D grid.
Fields§
§x: u32The x-length of the dimensions.
y: u32The y-length of the dimensions.
z: u32The z-length of the dimensions.
Trait Implementations§
Source§impl From<Extent3D> for GvoxExtent3D
impl From<Extent3D> for GvoxExtent3D
Source§impl From<GvoxExtent3D> for Extent3D
impl From<GvoxExtent3D> for Extent3D
Source§fn from(value: GvoxExtent3D) -> Self
fn from(value: GvoxExtent3D) -> Self
Converts to this type from the input type.
impl Copy for Extent3D
impl Eq for Extent3D
impl StructuralPartialEq for Extent3D
Auto Trait Implementations§
impl Freeze for Extent3D
impl RefUnwindSafe for Extent3D
impl Send for Extent3D
impl Sync for Extent3D
impl Unpin for Extent3D
impl UnwindSafe for Extent3D
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more