Struct axgeom::VecCont
[−]
[src]
#[must_use]pub struct VecCont<T> { /* fields omitted */ }
A 2d generic container. Elements can be accessed using an Axis.
Methods
impl<T> VecCont<T>
[src]
fn new(x: T, y: T) -> VecCont<T>
[src]
fn get_axis_mut<'a>(&'a mut self, a: Axis) -> &'a mut T
[src]
fn get_axis(&self, a: Axis) -> &T
[src]
fn get(&self) -> (&T, &T)
[src]
fn get_mut(&mut self) -> (&mut T, &mut T)
[src]
Trait Implementations
impl<T: Copy> Copy for VecCont<T>
[src]
impl<T: Clone> Clone for VecCont<T>
[src]
fn clone(&self) -> VecCont<T>
[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