#[repr(u32)]pub enum rb_warning_category_t {
RB_WARN_CATEGORY_NONE = 0,
RB_WARN_CATEGORY_DEPRECATED = 1,
RB_WARN_CATEGORY_EXPERIMENTAL = 2,
RB_WARN_CATEGORY_ALL_BITS = 6,
}Expand description
Generated by rb-sys for Ruby 3.0.2
Variants§
RB_WARN_CATEGORY_NONE = 0
Generated by rb-sys for Ruby 3.0.2
RB_WARN_CATEGORY_DEPRECATED = 1
Generated by rb-sys for Ruby 3.0.2
RB_WARN_CATEGORY_EXPERIMENTAL = 2
Generated by rb-sys for Ruby 3.0.2
RB_WARN_CATEGORY_ALL_BITS = 6
Generated by rb-sys for Ruby 3.0.2
Trait Implementations§
source§impl Clone for rb_warning_category_t
impl Clone for rb_warning_category_t
source§fn clone(&self) -> rb_warning_category_t
fn clone(&self) -> rb_warning_category_t
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 rb_warning_category_t
impl Debug for rb_warning_category_t
source§impl Hash for rb_warning_category_t
impl Hash for rb_warning_category_t
source§impl PartialEq for rb_warning_category_t
impl PartialEq for rb_warning_category_t
source§fn eq(&self, other: &rb_warning_category_t) -> bool
fn eq(&self, other: &rb_warning_category_t) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for rb_warning_category_t
impl Eq for rb_warning_category_t
impl StructuralEq for rb_warning_category_t
impl StructuralPartialEq for rb_warning_category_t
Auto Trait Implementations§
impl RefUnwindSafe for rb_warning_category_t
impl Send for rb_warning_category_t
impl Sync for rb_warning_category_t
impl Unpin for rb_warning_category_t
impl UnwindSafe for rb_warning_category_t
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