pub enum MapOutput<'a, 'b> {
Buffer(&'a mut Buffer),
F16(&'a mut Slots<'b, f16>),
F32(&'a mut Slots<'b, f32>),
F64(&'a mut Slots<'b, f64>),
Bool(&'a mut Slots<'b, bool>),
U8(&'a mut Slots<'b, u8>),
I16(&'a mut Slots<'b, i16>),
I32(&'a mut Slots<'b, i32>),
I64(&'a mut Slots<'b, i64>),
C32(&'a mut Slots<'b, Complex32>),
C64(&'a mut Slots<'b, Complex64>),
Char(&'a mut Slots<'b, char>),
}Expand description
Where a map appends its results: an owned buffer or the next slots of a caller’s result.
Variants§
Buffer(&'a mut Buffer)
F16(&'a mut Slots<'b, f16>)
F32(&'a mut Slots<'b, f32>)
F64(&'a mut Slots<'b, f64>)
Bool(&'a mut Slots<'b, bool>)
U8(&'a mut Slots<'b, u8>)
I16(&'a mut Slots<'b, i16>)
I32(&'a mut Slots<'b, i32>)
I64(&'a mut Slots<'b, i64>)
C32(&'a mut Slots<'b, Complex32>)
C64(&'a mut Slots<'b, Complex64>)
Char(&'a mut Slots<'b, char>)
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> !UnwindSafe for MapOutput<'a, 'b>
impl<'a, 'b> Forget for MapOutput<'a, 'b>
impl<'a, 'b> Freeze for MapOutput<'a, 'b>
impl<'a, 'b> RefUnwindSafe for MapOutput<'a, 'b>
impl<'a, 'b> Send for MapOutput<'a, 'b>
impl<'a, 'b> Sync for MapOutput<'a, 'b>
impl<'a, 'b> Unpin for MapOutput<'a, 'b>
impl<'a, 'b> UnsafeUnpin for MapOutput<'a, 'b>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more