Struct basic_dsp_interop::ScalarInteropResult
source · #[repr(C)]pub struct ScalarInteropResult<T>where
T: Sized,{
pub result_code: i32,
pub result: T,
}
Expand description
Result of a vector operation. Check the result_code
.
Fields§
§result_code: i32
This value is zero in case of error. All other values mean that an error
occurred and the data in the vector might be unchanged or invalid.
Error codes are described in translate_error
.
result: T
The result
Auto Trait Implementations§
impl<T> Freeze for ScalarInteropResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for ScalarInteropResult<T>where
T: RefUnwindSafe,
impl<T> Send for ScalarInteropResult<T>where
T: Send,
impl<T> Sync for ScalarInteropResult<T>where
T: Sync,
impl<T> Unpin for ScalarInteropResult<T>where
T: Unpin,
impl<T> UnwindSafe for ScalarInteropResult<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