Struct rb_sys::bindings::rb_memory_view_item_component_t
source · #[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,
}Fields§
§format: c_char§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§offset: size_t§size: size_t§repeat: size_tImplementations§
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 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 PartialEq<rb_memory_view_item_component_t> for rb_memory_view_item_component_t
impl PartialEq<rb_memory_view_item_component_t> 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
This method tests for
self and other values to be equal, and is used
by ==.