[][src]Struct goro::Vector

pub struct Vector<T: TokenList> { /* fields omitted */ }

Methods

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

pub fn new(
    allocation_size: usize,
    window_size: usize,
    user_data: T::UserData
) -> Result<Self, T::Error>
[src]

pub fn get_token(&mut self) -> Result<(&mut T, usize), T::Error>[src]

pub fn get_vector(&mut self) -> Vec<&mut T>[src]

pub fn tick(&mut self) -> Result<(), T::Error>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Vector<T> where
    T: RefUnwindSafe,
    <T as TokenList>::UserData: RefUnwindSafe

impl<T> Send for Vector<T> where
    T: Send,
    <T as TokenList>::UserData: Send

impl<T> Sync for Vector<T> where
    T: Sync,
    <T as TokenList>::UserData: Sync

impl<T> Unpin for Vector<T> where
    T: Unpin,
    <T as TokenList>::UserData: Unpin

impl<T> UnwindSafe for Vector<T> where
    T: UnwindSafe,
    <T as TokenList>::UserData: UnwindSafe

Blanket Implementations

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

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

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

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

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

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.