#[repr(C)]pub struct pm_constant_pool_bucket_t {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub hash: u32,
}
Expand description
A bucket in the hash map.
Fields§
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§hash: u32
The hash of the bucket.
Implementations§
Source§impl pm_constant_pool_bucket_t
impl pm_constant_pool_bucket_t
pub fn id(&self) -> c_uint
pub fn set_id(&mut self, val: c_uint)
pub unsafe fn id_raw(this: *const Self) -> c_uint
pub unsafe fn set_id_raw(this: *mut Self, val: c_uint)
pub fn type_(&self) -> pm_constant_pool_bucket_type_t
pub fn set_type(&mut self, val: pm_constant_pool_bucket_type_t)
pub unsafe fn type__raw(this: *const Self) -> pm_constant_pool_bucket_type_t
pub unsafe fn set_type_raw(this: *mut Self, val: pm_constant_pool_bucket_type_t)
pub fn new_bitfield_1( id: c_uint, type_: pm_constant_pool_bucket_type_t, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for pm_constant_pool_bucket_t
impl Clone for pm_constant_pool_bucket_t
Source§fn clone(&self) -> pm_constant_pool_bucket_t
fn clone(&self) -> pm_constant_pool_bucket_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 pm_constant_pool_bucket_t
impl Debug for pm_constant_pool_bucket_t
Source§impl Default for pm_constant_pool_bucket_t
impl Default for pm_constant_pool_bucket_t
Source§fn default() -> pm_constant_pool_bucket_t
fn default() -> pm_constant_pool_bucket_t
Returns the “default value” for a type. Read more
impl Copy for pm_constant_pool_bucket_t
Auto Trait Implementations§
impl Freeze for pm_constant_pool_bucket_t
impl RefUnwindSafe for pm_constant_pool_bucket_t
impl Send for pm_constant_pool_bucket_t
impl Sync for pm_constant_pool_bucket_t
impl Unpin for pm_constant_pool_bucket_t
impl UnwindSafe for pm_constant_pool_bucket_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