Struct llvm_bitcode::bitcode::Block
source · pub struct Block {
pub id: u64,
pub elements: Vec<BitcodeElement>,
}
Expand description
Blocks in a bitstream denote nested regions of the stream, and are identified by a content-specific id number
Block IDs 0-7 are reserved for standard blocks whose meaning is defined by Bitcode; block IDs 8 and greater are application specific.
Fields§
§id: u64
Block ID
elements: Vec<BitcodeElement>
Block elements
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnwindSafe for Block
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