#[repr(i32)]pub enum CGError {
Success = 0,
Failure = 1_000,
IllegalArgument = 1_001,
InvalidConnection = 1_002,
InvalidContext = 1_003,
CannotComplete = 1_004,
NotImplemented = 1_006,
RangeCheck = 1_007,
TypeCheck = 1_008,
InvalidOperation = 1_010,
NoneAvailable = 1_011,
}
Variants§
Success = 0
Failure = 1_000
IllegalArgument = 1_001
InvalidConnection = 1_002
InvalidContext = 1_003
CannotComplete = 1_004
NotImplemented = 1_006
RangeCheck = 1_007
TypeCheck = 1_008
InvalidOperation = 1_010
NoneAvailable = 1_011
Trait Implementations§
impl Copy for CGError
impl Eq for CGError
impl StructuralPartialEq for CGError
Auto Trait Implementations§
impl Freeze for CGError
impl RefUnwindSafe for CGError
impl Send for CGError
impl Sync for CGError
impl Unpin for CGError
impl UnwindSafe for CGError
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