#[repr(C)]pub struct pm_constant_pool_t {
pub buckets: *mut pm_constant_pool_bucket_t,
pub constants: *mut pm_constant_t,
pub size: u32,
pub capacity: u32,
}
Expand description
The overall constant pool, which stores constants found while parsing.
Fields§
§buckets: *mut pm_constant_pool_bucket_t
The buckets in the hash map.
constants: *mut pm_constant_t
The constants that are stored in the buckets.
size: u32
The number of buckets in the hash map.
capacity: u32
The number of buckets that have been allocated in the hash map.
Trait Implementations§
Source§impl Clone for pm_constant_pool_t
impl Clone for pm_constant_pool_t
Source§fn clone(&self) -> pm_constant_pool_t
fn clone(&self) -> pm_constant_pool_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 Debug for pm_constant_pool_t
impl Debug for pm_constant_pool_t
Source§impl Default for pm_constant_pool_t
impl Default for pm_constant_pool_t
impl Copy for pm_constant_pool_t
Auto Trait Implementations§
impl Freeze for pm_constant_pool_t
impl RefUnwindSafe for pm_constant_pool_t
impl !Send for pm_constant_pool_t
impl !Sync for pm_constant_pool_t
impl Unpin for pm_constant_pool_t
impl UnwindSafe for pm_constant_pool_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