pub struct BytecodeImportId(/* private fields */);Implementations§
Source§impl BytecodeImportId
impl BytecodeImportId
pub fn new(id0: ConstantIndex) -> Self
pub fn from_two(id0: ConstantIndex, id1: ConstantIndex) -> Self
pub fn from_three( id0: ConstantIndex, id1: ConstantIndex, id2: ConstantIndex, ) -> Self
pub fn from_raw(value: u32) -> Self
pub fn raw(self) -> u32
pub fn components(self) -> Vec<ConstantIndex> ⓘ
Trait Implementations§
Source§impl Clone for BytecodeImportId
impl Clone for BytecodeImportId
Source§fn clone(&self) -> BytecodeImportId
fn clone(&self) -> BytecodeImportId
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 moreimpl Copy for BytecodeImportId
Source§impl Debug for BytecodeImportId
impl Debug for BytecodeImportId
impl Eq for BytecodeImportId
Source§impl Hash for BytecodeImportId
impl Hash for BytecodeImportId
Source§impl PartialEq for BytecodeImportId
impl PartialEq for BytecodeImportId
impl StructuralPartialEq for BytecodeImportId
Auto Trait Implementations§
impl Freeze for BytecodeImportId
impl RefUnwindSafe for BytecodeImportId
impl Send for BytecodeImportId
impl Sync for BytecodeImportId
impl Unpin for BytecodeImportId
impl UnsafeUnpin for BytecodeImportId
impl UnwindSafe for BytecodeImportId
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