pub struct Chain<A, B> { /* private fields */ }
Expand description
Combine 2 Get
s in sequence into a Chain that also impliments Get
Trait Implementations§
Source§impl<O, A: Get<Output = O>, B: Get<Output = O>> Get for Chain<A, B>
impl<O, A: Get<Output = O>, B: Get<Output = O>> Get for Chain<A, B>
type Output = O
fn get_move(&self, index: usize) -> Option<Self::Output>
fn len(&self) -> usize
fn is_empty(&self) -> bool
fn index_move(&self, index: usize) -> Self::Output
fn iter<'a>(&'a self) -> Iter<'a, Self> ⓘwhere
Self: Sized,
fn chain<B>(self, other: B) -> Chain<Self, B>
impl<A: Copy, B: Copy> Copy for Chain<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for Chain<A, B>
impl<A, B> RefUnwindSafe for Chain<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Chain<A, B>
impl<A, B> Sync for Chain<A, B>
impl<A, B> Unpin for Chain<A, B>
impl<A, B> UnwindSafe for Chain<A, B>where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more