#[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: u32The 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 fn type_(&self) -> pm_constant_pool_bucket_type_t
pub fn set_type(&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 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