pub enum OutputVec {
VecI32(Vec<i32>),
VecU32(Vec<u32>),
VecF32(Vec<f32>),
VecBool(Vec<bool>),
}
Expand description
An enum to represent the different output vectors possible To get the vector back, call .unwrap_i32() for example.
Variants§
Implementations§
Source§impl OutputVec
impl OutputVec
pub fn unwrap_i32(self) -> Vec<i32>
pub fn unwrap_u32(self) -> Vec<u32>
pub fn unwrap_f32(self) -> Vec<f32>
pub fn unwrap_bool(self) -> Vec<bool>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OutputVec
impl RefUnwindSafe for OutputVec
impl Send for OutputVec
impl Sync for OutputVec
impl Unpin for OutputVec
impl UnwindSafe for OutputVec
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