pub enum MemorySegmentOffset {
Expr(ConstExpr),
Static(u64),
}Expand description
Offset within MemoryInit::Processed which indicates the initial offset
a data segment is applied at.
Variants§
Expr(ConstExpr)
A “complicated” constant expression deferred to get evaluated at runtime with compiled code.
Static(u64)
A statically known, in-bounds, constant value.
Auto Trait Implementations§
impl Freeze for MemorySegmentOffset
impl RefUnwindSafe for MemorySegmentOffset
impl Send for MemorySegmentOffset
impl Sync for MemorySegmentOffset
impl Unpin for MemorySegmentOffset
impl UnsafeUnpin for MemorySegmentOffset
impl UnwindSafe for MemorySegmentOffset
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