#[repr(C)]pub struct rb_memory_view_item_component_t {
pub format: c_char,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub offset: size_t,
pub size: size_t,
pub repeat: size_t,
}Expand description
Fields§
§format: c_char§_bitfield_align_1: [u8; 0]Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3
_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3
offset: size_t§size: size_t§repeat: size_t§How many numbers of components are there. For instance “CCC”’s repeat is 3.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3
Implementations§
Source§impl rb_memory_view_item_component_t
impl rb_memory_view_item_component_t
pub fn native_size_p(&self) -> c_uint
pub fn set_native_size_p(&mut self, val: c_uint)
pub fn little_endian_p(&self) -> c_uint
pub fn set_little_endian_p(&mut self, val: c_uint)
pub fn new_bitfield_1( native_size_p: c_uint, little_endian_p: c_uint, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for rb_memory_view_item_component_t
impl Clone for rb_memory_view_item_component_t
Source§fn clone(&self) -> rb_memory_view_item_component_t
fn clone(&self) -> rb_memory_view_item_component_t
Returns a duplicate 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 PartialEq for rb_memory_view_item_component_t
impl PartialEq for rb_memory_view_item_component_t
Source§fn eq(&self, other: &rb_memory_view_item_component_t) -> bool
fn eq(&self, other: &rb_memory_view_item_component_t) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for rb_memory_view_item_component_t
impl Eq for rb_memory_view_item_component_t
impl StructuralPartialEq for rb_memory_view_item_component_t
Auto Trait Implementations§
impl Freeze for rb_memory_view_item_component_t
impl RefUnwindSafe for rb_memory_view_item_component_t
impl Send for rb_memory_view_item_component_t
impl Sync for rb_memory_view_item_component_t
impl Unpin for rb_memory_view_item_component_t
impl UnwindSafe for rb_memory_view_item_component_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