#[repr(C)]pub enum MLNErrorCode {
MLN_OK = 0,
MLN_ERROR_INVALID_ARGUMENT = 1,
MLN_ERROR_STYLE_PARSE = 2,
MLN_ERROR_RENDER_FAILED = 3,
MLN_ERROR_NOT_LOADED = 4,
MLN_ERROR_TIMEOUT = 5,
MLN_ERROR_UNKNOWN = 99,
}Expand description
Error codes returned by the API
Variants§
MLN_OK = 0
MLN_ERROR_INVALID_ARGUMENT = 1
MLN_ERROR_STYLE_PARSE = 2
MLN_ERROR_RENDER_FAILED = 3
MLN_ERROR_NOT_LOADED = 4
MLN_ERROR_TIMEOUT = 5
MLN_ERROR_UNKNOWN = 99
Trait Implementations§
Source§impl Clone for MLNErrorCode
impl Clone for MLNErrorCode
Source§fn clone(&self) -> MLNErrorCode
fn clone(&self) -> MLNErrorCode
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 MLNErrorCode
impl Debug for MLNErrorCode
Source§impl PartialEq for MLNErrorCode
impl PartialEq for MLNErrorCode
impl Copy for MLNErrorCode
impl Eq for MLNErrorCode
impl StructuralPartialEq for MLNErrorCode
Auto Trait Implementations§
impl Freeze for MLNErrorCode
impl RefUnwindSafe for MLNErrorCode
impl Send for MLNErrorCode
impl Sync for MLNErrorCode
impl Unpin for MLNErrorCode
impl UnsafeUnpin for MLNErrorCode
impl UnwindSafe for MLNErrorCode
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