Struct array3d::Vec3 [] [src]

pub struct Vec3<X, Y = X, Z = Y> {
    pub x: X,
    pub y: Y,
    pub z: Z,
}

Fields

Trait Implementations

impl<X: Copy, Y: Copy, Z: Copy> Copy for Vec3<X, Y, Z>
[src]

impl<X: Debug, Y: Debug, Z: Debug> Debug for Vec3<X, Y, Z>
[src]

[src]

Formats the value using the given formatter.

impl<X: Clone, Y: Clone, Z: Clone> Clone for Vec3<X, Y, Z>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T> Index<i32> for Vec3<T>
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<T> IndexMut<i32> for Vec3<T>
[src]

[src]

Performs the mutable indexing (container[index]) operation.