pub struct ImportItemRef<'a>(/* private fields */);
Expand description
Reference to a import item.
Methods from Deref<Target = ItemRef<'a>>§
Sourcepub fn dump(&self, ctx: &MirContext) -> String
pub fn dump(&self, ctx: &MirContext) -> String
Dump the content in a textual representation for human consumption.
Trait Implementations§
Source§impl<'a> Clone for ImportItemRef<'a>
impl<'a> Clone for ImportItemRef<'a>
Source§fn clone(&self) -> ImportItemRef<'a>
fn clone(&self) -> ImportItemRef<'a>
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<'a> Debug for ImportItemRef<'a>
impl<'a> Debug for ImportItemRef<'a>
Source§impl<'a> Deref for ImportItemRef<'a>
impl<'a> Deref for ImportItemRef<'a>
Source§impl<'a> From<ImportItemRef<'a>> for Operand<'a>
impl<'a> From<ImportItemRef<'a>> for Operand<'a>
Source§fn from(item: ImportItemRef<'a>) -> Self
fn from(item: ImportItemRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> TryFrom<ItemRef<'a>> for ImportItemRef<'a>
impl<'a> TryFrom<ItemRef<'a>> for ImportItemRef<'a>
impl<'a> Copy for ImportItemRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ImportItemRef<'a>
impl<'a> RefUnwindSafe for ImportItemRef<'a>
impl<'a> !Send for ImportItemRef<'a>
impl<'a> !Sync for ImportItemRef<'a>
impl<'a> Unpin for ImportItemRef<'a>
impl<'a> UnwindSafe for ImportItemRef<'a>
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