Struct debris_mir::mir_nodes::RuntimeCopy
source · pub struct RuntimeCopy {
pub span: Span,
pub value: MirObjectId,
pub target: MirObjectId,
}
Expand description
Tries to copy a value (Does nothing if the value is comptime)
Fields§
§span: Span
§value: MirObjectId
§target: MirObjectId
Trait Implementations§
source§impl Debug for RuntimeCopy
impl Debug for RuntimeCopy
source§impl From<RuntimeCopy> for MirNode
impl From<RuntimeCopy> for MirNode
source§fn from(value: RuntimeCopy) -> Self
fn from(value: RuntimeCopy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for RuntimeCopy
impl Send for RuntimeCopy
impl Sync for RuntimeCopy
impl Unpin for RuntimeCopy
impl UnwindSafe for RuntimeCopy
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