Struct playdate_sys::error::ctx::NullPtrError
source · pub struct NullPtrError {
pub ctx: &'static str,
}
Fields§
§ctx: &'static str
Trait Implementations§
source§impl AsRef<str> for NullPtrError
impl AsRef<str> for NullPtrError
source§impl Debug for NullPtrError
impl Debug for NullPtrError
source§impl Display for NullPtrError
impl Display for NullPtrError
source§impl Error for NullPtrError
impl Error for NullPtrError
source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
fn description(&self) -> &str
description()
is deprecated; use Display
1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl<T> From<NullPtrError> for Error<T>
impl<T> From<NullPtrError> for Error<T>
source§fn from(error: NullPtrError) -> Self
fn from(error: NullPtrError) -> Self
Converts to this type from the input type.
source§impl Into<NullPtrError> for NullPtrError
impl Into<NullPtrError> for NullPtrError
source§fn into(self) -> NullPtrError
fn into(self) -> NullPtrError
Convert to non-contextual error. Removes context of this error.
Auto Trait Implementations§
impl RefUnwindSafe for NullPtrError
impl Send for NullPtrError
impl Sync for NullPtrError
impl Unpin for NullPtrError
impl UnwindSafe for NullPtrError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToString for Twhere
T: Display + ?Sized,
impl<T> ToString for Twhere
T: Display + ?Sized,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes