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§
Source§impl Clone for VolumeBounds
impl Clone for VolumeBounds
Source§fn clone(&self) -> VolumeBounds
fn clone(&self) -> VolumeBounds
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 VolumeBounds
impl Debug for VolumeBounds
Source§impl Default for VolumeBounds
impl Default for VolumeBounds
Source§fn default() -> VolumeBounds
fn default() -> VolumeBounds
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VolumeBounds
impl RefUnwindSafe for VolumeBounds
impl Send for VolumeBounds
impl Sync for VolumeBounds
impl Unpin for VolumeBounds
impl UnwindSafe for VolumeBounds
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