pub enum StreamApprox<T: Clone> {
Nil,
Cons(Box<StreamNode<T>>),
}Expand description
A finite approximation of a stream (either Nil or a Cons).
Variants§
Trait Implementations§
Source§impl<T: Clone + Clone> Clone for StreamApprox<T>
impl<T: Clone + Clone> Clone for StreamApprox<T>
Source§fn clone(&self) -> StreamApprox<T>
fn clone(&self) -> StreamApprox<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for StreamApprox<T>
impl<T> RefUnwindSafe for StreamApprox<T>where
T: RefUnwindSafe,
impl<T> Send for StreamApprox<T>where
T: Send,
impl<T> Sync for StreamApprox<T>where
T: Sync,
impl<T> Unpin for StreamApprox<T>
impl<T> UnsafeUnpin for StreamApprox<T>
impl<T> UnwindSafe for StreamApprox<T>where
T: 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