Struct test_assembler::RealLabel
[−]
[src]
pub struct RealLabel {
// some fields omitted
}The inner workings of Label. Don't instanitate this, instantiate Label.
Methods
impl RealLabel[src]
fn value(&self) -> Option<u64>
Get the constant value of the RealLabel, if known.
fn offset(&self, other: &RealLabel) -> Option<i64>
Get the relative offset from another label, if possible.
fn set_const(&self, val: u64)
Set this RealLabels value to val.
fn set(&self, other: &RealLabel)
Set this RealLabels value equal to other.
Trait Implementations
impl Debug for RealLabel[src]
impl LabelMaker for RealLabel[src]
fn new() -> RealLabel
Create an undefined label.
fn from_const(val: u64) -> RealLabel
Create a label with a constant value val.
fn from_label(other: &RealLabel) -> RealLabel
Create a label whose value is equal to other.
fn from_label_offset(other: &RealLabel, offset: i64) -> RealLabel
Create a label whose value is equal to other plus offset.