#[repr(C)]pub struct RegionRange {
pub offset: Offset3D,
pub extent: Extent3D,
}
Expand description
Represents a volume on a 3D grid.
Fields§
§offset: Offset3D
The position of the minimum corner of the region.
extent: Extent3D
The dimensions of the region.
Trait Implementations§
Source§impl Clone for RegionRange
impl Clone for RegionRange
Source§fn clone(&self) -> RegionRange
fn clone(&self) -> RegionRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RegionRange
impl Debug for RegionRange
Source§impl Default for RegionRange
impl Default for RegionRange
Source§fn default() -> RegionRange
fn default() -> RegionRange
Returns the “default value” for a type. Read more
Source§impl From<GvoxRegionRange> for RegionRange
impl From<GvoxRegionRange> for RegionRange
Source§fn from(value: GvoxRegionRange) -> Self
fn from(value: GvoxRegionRange) -> Self
Converts to this type from the input type.
Source§impl From<RegionRange> for GvoxRegionRange
impl From<RegionRange> for GvoxRegionRange
Source§fn from(value: RegionRange) -> Self
fn from(value: RegionRange) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RegionRange
impl PartialEq for RegionRange
impl Copy for RegionRange
impl Eq for RegionRange
impl StructuralPartialEq for RegionRange
Auto Trait Implementations§
impl Freeze for RegionRange
impl RefUnwindSafe for RegionRange
impl Send for RegionRange
impl Sync for RegionRange
impl Unpin for RegionRange
impl UnwindSafe for RegionRange
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