[][src]Struct nifpga::ReadElements

pub struct ReadElements<'a, 'b, T: Type> where
    'a: 'b, 
{ pub slice: &'a [T], // some fields omitted }

Fields

slice: &'a [T]

Implementations

impl<'a, '_, T: Type> ReadElements<'a, '_, T>[src]

pub fn from_raw(data: *const T, len: usize, fifo: &'a ReadFifo<T>) -> Self[src]

pub unsafe fn acquire<'b>(
    fifo: &'b ReadFifo<T>,
    num_elements: usize,
    timeout: u32
) -> Result<(ReadElements<'a, 'b, T>, usize, usize), NifpgaError>
[src]

Trait Implementations

impl<'_, '_, T: Type> Drop for ReadElements<'_, '_, T>[src]

Auto Trait Implementations

impl<'a, 'b, T> RefUnwindSafe for ReadElements<'a, 'b, T> where
    T: RefUnwindSafe

impl<'a, 'b, T> Send for ReadElements<'a, 'b, T> where
    T: Sync

impl<'a, 'b, T> Sync for ReadElements<'a, 'b, T> where
    T: Sync

impl<'a, 'b, T> Unpin for ReadElements<'a, 'b, T> where
    'b: 'a, 

impl<'a, 'b, T> UnwindSafe for ReadElements<'a, 'b, T> where
    T: RefUnwindSafe

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.