pub enum DataValue {
Integer(i128),
Label(String, i64),
Bytes(Vec<u8>),
}Expand description
A data value in a data directive.
Variants§
Integer(i128)
A numeric literal.
Label(String, i64)
A label reference with optional addend — resolved to an address during linking.
Bytes(Vec<u8>)
Raw byte sequence (from .ascii / .asciz).
Trait Implementations§
impl StructuralPartialEq for DataValue
Auto Trait Implementations§
impl Freeze for DataValue
impl RefUnwindSafe for DataValue
impl Send for DataValue
impl Sync for DataValue
impl Unpin for DataValue
impl UnwindSafe for DataValue
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