[−][src]Struct inc::x86::ASM
ASM is a list of instructions.
Display
trait converts this type to valid code that can be compiled
and executed. For now this is pretty dumb, but over time this could be
made into something a lot smarter and safe rather than concatenating so
many tiny strings together.
Trait Implementations
impl Clone for ASM
[src]
fn clone(&self) -> ASM
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<Ins> for ASM
[src]
Convert a single operation to ASM
impl From<String> for ASM
[src]
Convert a String to ASM
impl<'_> From<&'_ str> for ASM
[src]
Convert a string literal to ASM
impl Display for ASM
[src]
Collect all the bits and pieces together into valid assembly
impl Add<Ins> for ASM
[src]
Add operations to ASM with overloaded asm' = asm + op
.
NOTE: This is pretty inefficient due to copying of self.
type Output = Self
The resulting type after applying the +
operator.
fn add(self, op: Ins) -> Self
[src]
impl Add<ASM> for ASM
[src]
Concat ASM; asm + asm
NOTE: This is pretty inefficient due to copying both arguments.
type Output = Self
The resulting type after applying the +
operator.
fn add(self, asm: ASM) -> Self
[src]
impl AddAssign<Ins> for ASM
[src]
Add operations with a easy to read asm += op
short hand.
This is pretty efficient at the cost of owning the value.
fn add_assign(&mut self, op: Ins)
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,