pub struct NativeFunctionError(pub String);Tuple Fields§
§0: StringImplementations§
Source§impl NativeFunctionError
impl NativeFunctionError
pub fn new(message: &str) -> Self
pub fn into_qang_error(self, loc: SourceLocation) -> QangRuntimeError
Trait Implementations§
Source§impl Clone for NativeFunctionError
impl Clone for NativeFunctionError
Source§impl Debug for NativeFunctionError
impl Debug for NativeFunctionError
Auto Trait Implementations§
impl Freeze for NativeFunctionError
impl RefUnwindSafe for NativeFunctionError
impl Send for NativeFunctionError
impl Sync for NativeFunctionError
impl Unpin for NativeFunctionError
impl UnsafeUnpin for NativeFunctionError
impl UnwindSafe for NativeFunctionError
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