#[repr(transparent)]pub struct CGLError(pub c_uint);
👎Deprecated: The OpenGL API is deprecated by Apple
Available on crate feature
CGLTypes
only.Expand description
Tuple Fields§
§0: c_uint
👎Deprecated: The OpenGL API is deprecated by Apple
Implementations§
Source§impl CGLError
impl CGLError
pub const NoError: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadAttribute: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadProperty: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadPixelFormat: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadRendererInfo: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadContext: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadDrawable: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadDisplay: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadState: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadValue: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadMatch: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadEnumeration: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadOffScreen: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadFullScreen: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadWindow: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadAddress: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadCodeModule: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadAlloc: Self
👎Deprecated: The OpenGL API is deprecated by Apple
pub const BadConnection: Self
👎Deprecated: The OpenGL API is deprecated by Apple
Trait Implementations§
Source§impl Ord for CGLError
impl Ord for CGLError
Source§impl PartialOrd for CGLError
impl PartialOrd for CGLError
Source§impl RefEncode for CGLError
impl RefEncode for CGLError
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for CGLError
impl Eq for CGLError
impl StructuralPartialEq for CGLError
Auto Trait Implementations§
impl Freeze for CGLError
impl RefUnwindSafe for CGLError
impl Send for CGLError
impl Sync for CGLError
impl Unpin for CGLError
impl UnwindSafe for CGLError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.