Enum rb_sys::bindings::ruby_coderange_type
source · #[repr(u32)]
pub enum ruby_coderange_type {
RUBY_ENC_CODERANGE_UNKNOWN,
RUBY_ENC_CODERANGE_7BIT,
RUBY_ENC_CODERANGE_VALID,
RUBY_ENC_CODERANGE_BROKEN,
}Variants§
RUBY_ENC_CODERANGE_UNKNOWN
RUBY_ENC_CODERANGE_7BIT
RUBY_ENC_CODERANGE_VALID
RUBY_ENC_CODERANGE_BROKEN
Implementations§
source§impl ruby_coderange_type
impl ruby_coderange_type
pub const RUBY_ENC_CODERANGE_MASK: ruby_coderange_type = ruby_coderange_type::RUBY_ENC_CODERANGE_BROKEN
Trait Implementations§
source§impl Clone for ruby_coderange_type
impl Clone for ruby_coderange_type
source§fn clone(&self) -> ruby_coderange_type
fn clone(&self) -> ruby_coderange_type
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 ruby_coderange_type
impl Debug for ruby_coderange_type
source§impl Hash for ruby_coderange_type
impl Hash for ruby_coderange_type
source§impl PartialEq<ruby_coderange_type> for ruby_coderange_type
impl PartialEq<ruby_coderange_type> for ruby_coderange_type
source§fn eq(&self, other: &ruby_coderange_type) -> bool
fn eq(&self, other: &ruby_coderange_type) -> bool
This method tests for
self and other values to be equal, and is used
by ==.