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,
}Expand description
Generated by rb-sys for Ruby 3.0.0
Variants§
RUBY_ENC_CODERANGE_UNKNOWN
Generated by rb-sys for Ruby 3.0.0
RUBY_ENC_CODERANGE_7BIT
Generated by rb-sys for Ruby 3.0.0
RUBY_ENC_CODERANGE_VALID
Generated by rb-sys for Ruby 3.0.0
RUBY_ENC_CODERANGE_BROKEN
Generated by rb-sys for Ruby 3.0.0
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 ==.impl Copy for ruby_coderange_type
impl Eq for ruby_coderange_type
impl StructuralEq for ruby_coderange_type
impl StructuralPartialEq for ruby_coderange_type
Auto Trait Implementations§
impl RefUnwindSafe for ruby_coderange_type
impl Send for ruby_coderange_type
impl Sync for ruby_coderange_type
impl Unpin for ruby_coderange_type
impl UnwindSafe for ruby_coderange_type
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