Struct edlang_ir::BasicBlock
source · pub struct BasicBlock {
pub statements: SmallVec<[Statement; 8]>,
pub terminator: Terminator,
pub terminator_span: Option<Span>,
}
Fields§
§statements: SmallVec<[Statement; 8]>
§terminator: Terminator
§terminator_span: Option<Span>
Trait Implementations§
source§impl Clone for BasicBlock
impl Clone for BasicBlock
source§fn clone(&self) -> BasicBlock
fn clone(&self) -> BasicBlock
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 moreAuto Trait Implementations§
impl Freeze for BasicBlock
impl RefUnwindSafe for BasicBlock
impl Send for BasicBlock
impl Sync for BasicBlock
impl Unpin for BasicBlock
impl UnwindSafe for BasicBlock
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