pub enum ConstantSlot {
Reserved,
Entry(Constant),
Unusable,
}Expand description
One physical constant-pool index, including indices that cannot be referenced.
Variants§
Reserved
The mandated, non-encoded index zero.
Entry(Constant)
A usable entry encoded at this index.
Unusable
The explicit second slot occupied by the preceding Long or Double.
Trait Implementations§
Source§impl Clone for ConstantSlot
impl Clone for ConstantSlot
Source§fn clone(&self) -> ConstantSlot
fn clone(&self) -> ConstantSlot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConstantSlot
impl Debug for ConstantSlot
Source§impl PartialEq for ConstantSlot
impl PartialEq for ConstantSlot
impl StructuralPartialEq for ConstantSlot
Auto Trait Implementations§
impl Freeze for ConstantSlot
impl RefUnwindSafe for ConstantSlot
impl Send for ConstantSlot
impl Sync for ConstantSlot
impl Unpin for ConstantSlot
impl UnsafeUnpin for ConstantSlot
impl UnwindSafe for ConstantSlot
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