Struct hapi_rs::volume::VolumeBounds
source · pub struct VolumeBounds {
pub x_min: f32,
pub y_min: f32,
pub z_min: f32,
pub x_max: f32,
pub y_max: f32,
pub z_max: f32,
pub x_center: f32,
pub y_center: f32,
pub z_center: f32,
}
Expand description
Volume primitive dimensions returned from crate::geometry::Geometry::volume_bounds()
Fields
x_min: f32
y_min: f32
z_min: f32
x_max: f32
y_max: f32
z_max: f32
x_center: f32
y_center: f32
z_center: f32
Trait Implementations
sourceimpl Clone for VolumeBounds
impl Clone for VolumeBounds
sourcefn clone(&self) -> VolumeBounds
fn clone(&self) -> VolumeBounds
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VolumeBounds
impl Debug for VolumeBounds
sourceimpl Default for VolumeBounds
impl Default for VolumeBounds
sourcefn default() -> VolumeBounds
fn default() -> VolumeBounds
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for VolumeBounds
impl Send for VolumeBounds
impl Sync for VolumeBounds
impl Unpin for VolumeBounds
impl UnwindSafe for VolumeBounds
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more