Struct wkwrap::vec::Box3
[−]
[src]
pub struct Box3 { /* fields omitted */ }
Methods
impl Box3
[src]
pub fn new(min: Vec3, max: Vec3) -> Result<Box3>
[src]
pub fn min(&self) -> Vec3
[src]
pub fn max(&self) -> Vec3
[src]
pub fn width(&self) -> Vec3
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn intersect(&self, rhs: Box3) -> Box3
[src]
Trait Implementations
impl Copy for Box3
[src]
impl Clone for Box3
[src]
fn clone(&self) -> Box3
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Box3
[src]
fn eq(&self, __arg_0: &Box3) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Box3) -> bool
[src]
This method tests for !=
.
impl Debug for Box3
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Vec3> for Box3
[src]
impl Add<Box3> for Box3
[src]
type Output = Box3
The resulting type after applying the +
operator.
fn add(self, rhs: Box3) -> Box3
[src]
Performs the +
operation.
impl Add<Vec3> for Box3
[src]
type Output = Box3
The resulting type after applying the +
operator.
fn add(self, rhs: Vec3) -> Box3
[src]
Performs the +
operation.
impl Add<u32> for Box3
[src]
type Output = Box3
The resulting type after applying the +
operator.
fn add(self, rhs: u32) -> Box3
[src]
Performs the +
operation.
impl Sub<Box3> for Box3
[src]
type Output = Box3
The resulting type after applying the -
operator.
fn sub(self, rhs: Box3) -> Box3
[src]
Performs the -
operation.
impl Sub<Vec3> for Box3
[src]
type Output = Box3
The resulting type after applying the -
operator.
fn sub(self, rhs: Vec3) -> Box3
[src]
Performs the -
operation.
impl Sub<u32> for Box3
[src]
type Output = Box3
The resulting type after applying the -
operator.
fn sub(self, rhs: u32) -> Box3
[src]
Performs the -
operation.
impl Mul<Box3> for Box3
[src]
type Output = Box3
The resulting type after applying the *
operator.
fn mul(self, rhs: Box3) -> Box3
[src]
Performs the *
operation.
impl Mul<Vec3> for Box3
[src]
type Output = Box3
The resulting type after applying the *
operator.
fn mul(self, rhs: Vec3) -> Box3
[src]
Performs the *
operation.
impl Mul<u32> for Box3
[src]
type Output = Box3
The resulting type after applying the *
operator.
fn mul(self, rhs: u32) -> Box3
[src]
Performs the *
operation.
impl Div<Box3> for Box3
[src]
type Output = Box3
The resulting type after applying the /
operator.
fn div(self, rhs: Box3) -> Box3
[src]
Performs the /
operation.
impl Div<Vec3> for Box3
[src]
type Output = Box3
The resulting type after applying the /
operator.
fn div(self, rhs: Vec3) -> Box3
[src]
Performs the /
operation.
impl Div<u32> for Box3
[src]
type Output = Box3
The resulting type after applying the /
operator.
fn div(self, rhs: u32) -> Box3
[src]
Performs the /
operation.
impl Rem<Box3> for Box3
[src]
type Output = Box3
The resulting type after applying the %
operator.
fn rem(self, rhs: Box3) -> Box3
[src]
Performs the %
operation.
impl Rem<Vec3> for Box3
[src]
type Output = Box3
The resulting type after applying the %
operator.
fn rem(self, rhs: Vec3) -> Box3
[src]
Performs the %
operation.
impl Rem<u32> for Box3
[src]
type Output = Box3
The resulting type after applying the %
operator.
fn rem(self, rhs: u32) -> Box3
[src]
Performs the %
operation.
impl Shl<Box3> for Box3
[src]
type Output = Box3
The resulting type after applying the <<
operator.
fn shl(self, rhs: Box3) -> Box3
[src]
Performs the <<
operation.
impl Shl<Vec3> for Box3
[src]
type Output = Box3
The resulting type after applying the <<
operator.
fn shl(self, rhs: Vec3) -> Box3
[src]
Performs the <<
operation.
impl Shl<u32> for Box3
[src]
type Output = Box3
The resulting type after applying the <<
operator.
fn shl(self, rhs: u32) -> Box3
[src]
Performs the <<
operation.
impl Shr<Box3> for Box3
[src]
type Output = Box3
The resulting type after applying the >>
operator.
fn shr(self, rhs: Box3) -> Box3
[src]
Performs the >>
operation.
impl Shr<Vec3> for Box3
[src]
type Output = Box3
The resulting type after applying the >>
operator.
fn shr(self, rhs: Vec3) -> Box3
[src]
Performs the >>
operation.