[][src]Struct scaly::containers::vector::Vector

pub struct Vector<T: Copy> {
    pub data: *mut T,
    pub length: usize,
}

Fields

data: *mut Tlength: usize

Methods

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

pub fn from_raw_array(_rp: *mut Page, array: &[T]) -> Vector<T>[src]

pub fn from_array(_rp: *mut Page, array: Ref<Array<T>>) -> Vector<T>[src]

Trait Implementations

impl<T: Clone + Copy> Clone for Vector<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 Vector<T>[src]

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

type Target = [T]

The resulting type after dereferencing.

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

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

type Output = T

The returned type after indexing.

Auto Trait Implementations

impl<T> Unpin for Vector<T>

impl<T> !Send for Vector<T>

impl<T> !Sync for Vector<T>

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

impl<T> UnwindSafe for Vector<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]