Struct artichoke_backend::def::ConstantNameError
source · pub struct ConstantNameError(_);
Implementations§
Trait Implementations§
source§impl Clone for ConstantNameError
impl Clone for ConstantNameError
source§fn clone(&self) -> ConstantNameError
fn clone(&self) -> ConstantNameError
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 ConstantNameError
impl Debug for ConstantNameError
source§impl Default for ConstantNameError
impl Default for ConstantNameError
source§fn default() -> ConstantNameError
fn default() -> ConstantNameError
Returns the “default value” for a type. Read more
source§impl Display for ConstantNameError
impl Display for ConstantNameError
source§impl Error for ConstantNameError
impl Error for ConstantNameError
1.30.0 · source§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
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<&'static str> for ConstantNameError
impl From<&'static str> for ConstantNameError
source§impl From<ConstantNameError> for Error
impl From<ConstantNameError> for Error
source§fn from(exception: ConstantNameError) -> Self
fn from(exception: ConstantNameError) -> Self
Converts to this type from the input type.
source§impl From<String> for ConstantNameError
impl From<String> for ConstantNameError
source§impl Hash for ConstantNameError
impl Hash for ConstantNameError
source§impl Ord for ConstantNameError
impl Ord for ConstantNameError
source§fn cmp(&self, other: &ConstantNameError) -> Ordering
fn cmp(&self, other: &ConstantNameError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ConstantNameError> for ConstantNameError
impl PartialEq<ConstantNameError> for ConstantNameError
source§fn eq(&self, other: &ConstantNameError) -> bool
fn eq(&self, other: &ConstantNameError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ConstantNameError> for ConstantNameError
impl PartialOrd<ConstantNameError> for ConstantNameError
source§fn partial_cmp(&self, other: &ConstantNameError) -> Option<Ordering>
fn partial_cmp(&self, other: &ConstantNameError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RubyException for ConstantNameError
impl RubyException for ConstantNameError
source§fn vm_backtrace(&self, interp: &mut Artichoke) -> Option<Vec<Vec<u8>>>
fn vm_backtrace(&self, interp: &mut Artichoke) -> Option<Vec<Vec<u8>>>
Optional backtrace specified by a
Vec
of frames.source§fn as_mrb_value(&self, interp: &mut Artichoke) -> Option<mrb_value>
fn as_mrb_value(&self, interp: &mut Artichoke) -> Option<mrb_value>
Return a raise-able
sys::mrb_value
.