Struct dynasmrt::UncommittedModifier [−][src]
pub struct UncommittedModifier<'a> { /* fields omitted */ }
Expand description
This struct is a wrapper around an Assembler
normally created using the
Assembler.alter_uncommitted
method. It allows the user to edit parts
of the assembling buffer that cannot be determined easily or efficiently
in advance. Due to limitations of the label resolution algorithms, this
assembler does not allow labels to be used.
Implementations
create a new uncommittedmodifier
Sets the current modification offset to the given value
Checks that the current modification offset is not larger than the specified offset.
Checks that the current modification offset is exactly the specified offset.
Trait Implementations
Report the current offset into the assembling target
Push filler until the assembling target end is aligned to the given alignment.
This function is called in when a runtime error has to be generated. It panics.
Extends a collection with the contents of an iterator. Read more
extend_one
)Extends a collection with exactly one element.
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Extends a collection with the contents of an iterator. Read more
extend_one
)Extends a collection with exactly one element.
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more