[][src]Struct cursed::vec::Vec

#[repr(transparent)]
pub struct Vec<T>(_, _);

Methods

impl<T: Send + Sync + 'static> Vec<T>[src]

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

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

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

pub fn pop(&mut self) -> Option<Arc<T>>[src]

pub fn get(&self, index: usize) -> Option<Arc<T>>[src]

pub fn into_raw(self) -> *const Vec<T>[src]

pub unsafe fn from_raw(ptr: *const Vec<T>) -> Vec<T>[src]

pub fn to_vec(&self) -> RealVec<Arc<T>>[src]

pub fn to_owned_vec(&self) -> RealVec<T::Owned> where
    T: ToOwned
[src]

Trait Implementations

impl<T: Debug> Debug for Vec<T>[src]

impl<T: Send + Sync + 'static> From<Vec<T>> for Vec<T>[src]

impl<'_, T: Send + Sync + 'static + Clone> From<&'_ [T]> for Vec<T>[src]

impl<'_, T: Send + Sync + 'static + Clone> From<&'_ Vec<T>> for Vec<T>[src]

impl<T: Clone> Clone for Vec<T>[src]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Unpin for Vec<T> where
    T: Unpin

impl<T> Send for Vec<T> where
    T: Send

impl<T> Sync for Vec<T> where
    T: Sync

impl<T> !RefUnwindSafe for Vec<T>

impl<T> !UnwindSafe for Vec<T>

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.