Struct rust_raylib::math::BoundingBox
source · #[repr(C)]pub struct BoundingBox {
pub min: Vector3,
pub max: Vector3,
}Expand description
BoundingBox
Fields§
§min: Vector3Minimum vertex box-corner
max: Vector3Maximum vertex box-corner
Trait Implementations§
source§impl Clone for BoundingBox
impl Clone for BoundingBox
source§fn clone(&self) -> BoundingBox
fn clone(&self) -> BoundingBox
Returns a copy 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 BoundingBox
impl Debug for BoundingBox
source§impl From<BoundingBox> for BoundingBox
impl From<BoundingBox> for BoundingBox
source§fn from(val: BoundingBox) -> Self
fn from(val: BoundingBox) -> Self
Converts to this type from the input type.
source§impl From<BoundingBox> for BoundingBox
impl From<BoundingBox> for BoundingBox
source§fn from(value: BoundingBox) -> Self
fn from(value: BoundingBox) -> Self
Converts to this type from the input type.
source§impl PartialEq for BoundingBox
impl PartialEq for BoundingBox
source§fn eq(&self, other: &BoundingBox) -> bool
fn eq(&self, other: &BoundingBox) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BoundingBox
Auto Trait Implementations§
impl RefUnwindSafe for BoundingBox
impl Send for BoundingBox
impl Sync for BoundingBox
impl Unpin for BoundingBox
impl UnwindSafe for BoundingBox
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