pub struct BeamConstPool { /* private fields */ }Expand description
A constant pool for BEAM modules (literal table).
BEAM stores large constants (tuples, lists, binaries) in a literal pool to avoid re-creating them on every call.
Implementations§
Trait Implementations§
Source§impl Clone for BeamConstPool
impl Clone for BeamConstPool
Source§fn clone(&self) -> BeamConstPool
fn clone(&self) -> BeamConstPool
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 BeamConstPool
impl Debug for BeamConstPool
Source§impl Default for BeamConstPool
impl Default for BeamConstPool
Source§fn default() -> BeamConstPool
fn default() -> BeamConstPool
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BeamConstPool
impl RefUnwindSafe for BeamConstPool
impl Send for BeamConstPool
impl Sync for BeamConstPool
impl Unpin for BeamConstPool
impl UnsafeUnpin for BeamConstPool
impl UnwindSafe for BeamConstPool
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