[][src]Struct feast::input::SliceInput

pub struct SliceInput<'i, T: Token>(pub &'i [T]);

Methods

impl<'i, T: 'i> SliceInput<'i, T> where
    T: Token
[src]

pub fn empty() -> Self[src]

Trait Implementations

impl<'i, T> Input<'i> for SliceInput<'i, T> where
    T: Token
[src]

type Token = T

The smallest unit of data the input provides.

type Section = Self

A section, or sequence of tokens from the input.

impl<'i, T> ExactSizeInput<'i> for SliceInput<'i, T> where
    T: Token
[src]

impl<'i, T: Copy + Token> Copy for SliceInput<'i, T>[src]

impl<'i, T: PartialEq + Token> PartialEq<SliceInput<'i, T>> for SliceInput<'i, T>[src]

impl<'i, T> AsRef<[T]> for SliceInput<'i, T> where
    T: Token
[src]

impl<'i, T: Clone + Token> Clone for SliceInput<'i, T>[src]

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

Performs copy-assignment from source. Read more

impl<'i, T> From<&'i [T]> for SliceInput<'i, T> where
    T: Token
[src]

impl<'i, T: Debug + Token> Debug for SliceInput<'i, T>[src]

impl<'i, T> Index<usize> for SliceInput<'i, T> where
    T: Token
[src]

type Output = T

The returned type after indexing.

Auto Trait Implementations

impl<'i, T> Send for SliceInput<'i, T> where
    T: Sync

impl<'i, T> Sync for SliceInput<'i, T> where
    T: Sync

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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 for T where
    T: ?Sized
[src]

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

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