[][src]Struct scaly::containers::array::Array

pub struct Array<T: Copy> { /* fields omitted */ }

Methods

impl<T: Copy> Array<T>[src]

pub fn new() -> Array<T>[src]

pub fn get_length(&self) -> usize[src]

pub fn add(&mut self, item: T)[src]

Trait Implementations

impl<T: Clone + Copy> Clone for Array<T>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for Array<T>[src]

impl<T: Copy> Deref for Array<T>[src]

type Target = [T]

The resulting type after dereferencing.

impl<T: Copy> DerefMut for Array<T>[src]

impl<T: Copy> Index<usize> for Array<T>[src]

type Output = T

The returned type after indexing.

Auto Trait Implementations

impl<T> Unpin for Array<T>

impl<T> !Send for Array<T>

impl<T> !Sync for Array<T>

impl<T> RefUnwindSafe for Array<T> where
    T: RefUnwindSafe

impl<T> UnwindSafe for Array<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]