pub struct InstLayout {
pub block: Option<Block>,
pub prev: Option<Inst>,
pub next: Option<Inst>,
}Expand description
Where one instruction sits.
Fields§
§block: Option<Block>The block it is in, or None if it has been made and not yet inserted.
prev: Option<Inst>The instruction before it in that block.
next: Option<Inst>The instruction after it.
Trait Implementations§
Source§impl Clone for InstLayout
impl Clone for InstLayout
Source§fn clone(&self) -> InstLayout
fn clone(&self) -> InstLayout
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 InstLayout
Source§impl Debug for InstLayout
impl Debug for InstLayout
Source§impl Default for InstLayout
impl Default for InstLayout
Source§fn default() -> InstLayout
fn default() -> InstLayout
Returns the “default value” for a type. Read more
impl Eq for InstLayout
Source§impl PartialEq for InstLayout
impl PartialEq for InstLayout
impl StructuralPartialEq for InstLayout
Auto Trait Implementations§
impl Freeze for InstLayout
impl RefUnwindSafe for InstLayout
impl Send for InstLayout
impl Sync for InstLayout
impl Unpin for InstLayout
impl UnsafeUnpin for InstLayout
impl UnwindSafe for InstLayout
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