pub struct QueryBounds {
pub min: Vec3,
pub max: Vec3,
}Fields§
§min: Vec3§max: Vec3Implementations§
Source§impl QueryBounds
impl QueryBounds
pub fn intersects(self, other: QueryBounds) -> bool
pub fn expanded(self, amount: f32) -> QueryBounds
Trait Implementations§
Source§impl Clone for QueryBounds
impl Clone for QueryBounds
Source§fn clone(&self) -> QueryBounds
fn clone(&self) -> QueryBounds
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 QueryBounds
impl Debug for QueryBounds
impl Copy for QueryBounds
Auto Trait Implementations§
impl Freeze for QueryBounds
impl RefUnwindSafe for QueryBounds
impl Send for QueryBounds
impl Sync for QueryBounds
impl Unpin for QueryBounds
impl UnwindSafe for QueryBounds
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