#[repr(C)]pub enum FlywheelResult {
Ok = 0,
NullPointer = 1,
InvalidUtf8 = 2,
IoError = 3,
OutOfBounds = 4,
NotRunning = 5,
}Expand description
Result codes for FFI functions.
Variants§
Ok = 0
Operation succeeded.
NullPointer = 1
Null pointer passed.
InvalidUtf8 = 2
Invalid UTF-8 string.
IoError = 3
I/O error.
OutOfBounds = 4
Out of bounds.
NotRunning = 5
Engine not running.
Trait Implementations§
Source§impl Clone for FlywheelResult
impl Clone for FlywheelResult
Source§fn clone(&self) -> FlywheelResult
fn clone(&self) -> FlywheelResult
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 moreSource§impl Debug for FlywheelResult
impl Debug for FlywheelResult
Source§impl PartialEq for FlywheelResult
impl PartialEq for FlywheelResult
impl Copy for FlywheelResult
impl Eq for FlywheelResult
impl StructuralPartialEq for FlywheelResult
Auto Trait Implementations§
impl Freeze for FlywheelResult
impl RefUnwindSafe for FlywheelResult
impl Send for FlywheelResult
impl Sync for FlywheelResult
impl Unpin for FlywheelResult
impl UnwindSafe for FlywheelResult
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