#[repr(transparent)]pub struct LibraryError(pub UInteger);Expand description
Library error codes.
C++ equivalent: MTL::LibraryError
Tuple Fields§
§0: UIntegerImplementations§
Source§impl LibraryError
impl LibraryError
pub const UNSUPPORTED: Self
pub const INTERNAL: Self
pub const COMPILE_FAILURE: Self
pub const COMPILE_WARNING: Self
pub const FUNCTION_NOT_FOUND: Self
pub const FILE_NOT_FOUND: Self
Trait Implementations§
Source§impl Clone for LibraryError
impl Clone for LibraryError
Source§fn clone(&self) -> LibraryError
fn clone(&self) -> LibraryError
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 LibraryError
impl Debug for LibraryError
Source§impl Default for LibraryError
impl Default for LibraryError
Source§fn default() -> LibraryError
fn default() -> LibraryError
Returns the “default value” for a type. Read more
Source§impl Hash for LibraryError
impl Hash for LibraryError
Source§impl PartialEq for LibraryError
impl PartialEq for LibraryError
impl Copy for LibraryError
impl Eq for LibraryError
impl StructuralPartialEq for LibraryError
Auto Trait Implementations§
impl Freeze for LibraryError
impl RefUnwindSafe for LibraryError
impl Send for LibraryError
impl Sync for LibraryError
impl Unpin for LibraryError
impl UnwindSafe for LibraryError
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