[−][src]Struct feast::input::SliceInput
Methods
impl<'i, T: 'i> SliceInput<'i, T> where
T: Token,
[src]
T: Token,
Trait Implementations
impl<'i, T> Input<'i> for SliceInput<'i, T> where
T: Token,
[src]
T: Token,
type Token = T
The smallest unit of data the input provides.
type Section = Self
A section, or sequence of tokens from the input.
fn is_empty(&self) -> bool
[src]
fn split_first<E>(self) -> Result<(Self::Token, Self), E> where
E: Error<'i, Token = Self::Token>,
[src]
E: Error<'i, Token = Self::Token>,
fn split_pair<E, F>(self, pred: F) -> Result<(Self::Section, Self), E> where
E: Error<'i, Token = Self::Token>,
F: FnMut(&Self::Token) -> bool,
[src]
E: Error<'i, Token = Self::Token>,
F: FnMut(&Self::Token) -> bool,
fn split_at<E>(self, mid: usize) -> Result<(Self::Section, Self), E> where
E: Error<'i, Token = Self::Token>,
[src]
E: Error<'i, Token = Self::Token>,
impl<'i, T> ExactSizeInput<'i> for SliceInput<'i, T> where
T: Token,
[src]
T: Token,
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]
fn eq(&self, other: &SliceInput<'i, T>) -> bool
[src]
fn ne(&self, other: &SliceInput<'i, T>) -> bool
[src]
impl<'i, T> AsRef<[T]> for SliceInput<'i, T> where
T: Token,
[src]
T: Token,
impl<'i, T: Clone + Token> Clone for SliceInput<'i, T>
[src]
fn clone(&self) -> 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]
T: Token,
impl<'i, T: Debug + Token> Debug for SliceInput<'i, T>
[src]
impl<'i, T> Index<usize> for SliceInput<'i, T> where
T: Token,
[src]
T: Token,
Auto Trait Implementations
impl<'i, T> Send for SliceInput<'i, T> where
T: Sync,
T: Sync,
impl<'i, T> Sync for SliceInput<'i, T> where
T: Sync,
T: Sync,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,