Enum phoenix_lang::vm::DerefError
source · pub enum DerefError {
NotPointer,
WrongType,
}Expand description
This ended up not being very useful since we usually don’t care what kind of deref error we get, they usually mean the same thing, that we tried to use a value in a way it wasn’t supposed to be used
Variants§
Trait Implementations§
source§impl Clone for DerefError
impl Clone for DerefError
source§fn clone(&self) -> DerefError
fn clone(&self) -> DerefError
Returns a copy 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 DerefError
impl Debug for DerefError
impl Copy for DerefError
Auto Trait Implementations§
impl Freeze for DerefError
impl RefUnwindSafe for DerefError
impl Send for DerefError
impl Sync for DerefError
impl Unpin for DerefError
impl UnwindSafe for DerefError
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)