Struct array3d::Vec2 [] [src]

pub struct Vec2<X, Y = X> {
    pub x: X,
    pub y: Y,
}

Fields

Trait Implementations

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

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

[src]

Formats the value using the given formatter.

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more