#[repr(u32)]pub enum ruby_memory_view_flags {
RUBY_MEMORY_VIEW_SIMPLE = 0,
RUBY_MEMORY_VIEW_WRITABLE = 1,
RUBY_MEMORY_VIEW_FORMAT = 2,
RUBY_MEMORY_VIEW_MULTI_DIMENSIONAL = 4,
RUBY_MEMORY_VIEW_STRIDES = 12,
RUBY_MEMORY_VIEW_ROW_MAJOR = 28,
RUBY_MEMORY_VIEW_COLUMN_MAJOR = 44,
RUBY_MEMORY_VIEW_ANY_CONTIGUOUS = 60,
RUBY_MEMORY_VIEW_INDIRECT = 76,
}Expand description
Generated by rb-sys for Ruby 3.0.2
Variants§
RUBY_MEMORY_VIEW_SIMPLE = 0
Generated by rb-sys for Ruby 3.0.2
RUBY_MEMORY_VIEW_WRITABLE = 1
Generated by rb-sys for Ruby 3.0.2
RUBY_MEMORY_VIEW_FORMAT = 2
Generated by rb-sys for Ruby 3.0.2
RUBY_MEMORY_VIEW_MULTI_DIMENSIONAL = 4
Generated by rb-sys for Ruby 3.0.2
RUBY_MEMORY_VIEW_STRIDES = 12
Generated by rb-sys for Ruby 3.0.2
RUBY_MEMORY_VIEW_ROW_MAJOR = 28
Generated by rb-sys for Ruby 3.0.2
RUBY_MEMORY_VIEW_COLUMN_MAJOR = 44
Generated by rb-sys for Ruby 3.0.2
RUBY_MEMORY_VIEW_ANY_CONTIGUOUS = 60
Generated by rb-sys for Ruby 3.0.2
RUBY_MEMORY_VIEW_INDIRECT = 76
Generated by rb-sys for Ruby 3.0.2
Trait Implementations§
source§impl Clone for ruby_memory_view_flags
impl Clone for ruby_memory_view_flags
source§fn clone(&self) -> ruby_memory_view_flags
fn clone(&self) -> ruby_memory_view_flags
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_memory_view_flags
impl Debug for ruby_memory_view_flags
source§impl Hash for ruby_memory_view_flags
impl Hash for ruby_memory_view_flags
source§impl PartialEq for ruby_memory_view_flags
impl PartialEq for ruby_memory_view_flags
source§fn eq(&self, other: &ruby_memory_view_flags) -> bool
fn eq(&self, other: &ruby_memory_view_flags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ruby_memory_view_flags
impl Eq for ruby_memory_view_flags
impl StructuralPartialEq for ruby_memory_view_flags
Auto Trait Implementations§
impl RefUnwindSafe for ruby_memory_view_flags
impl Send for ruby_memory_view_flags
impl Sync for ruby_memory_view_flags
impl Unpin for ruby_memory_view_flags
impl UnwindSafe for ruby_memory_view_flags
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