[−][src]Struct loa::assembly::Assembly
Methods
impl Assembly
[src]
pub fn new() -> Assembly
[src]
pub fn add_method_declaration_section(&mut self, section: Section)
[src]
pub fn add_class_declaration_section(&mut self, section: Section)
[src]
pub fn add_main_section(&mut self, section: Section)
[src]
pub fn add_section(&mut self, section: Section)
[src]
pub fn with_section(self, section: Section) -> Self
[src]
pub fn last_main_section_mut(&mut self) -> &mut Section
[src]
pub fn iter(
&self
) -> Chain<Chain<Chain<Iter<Section>, Iter<Section>>, Iter<Section>>, Iter<Section>>
[src]
&self
) -> Chain<Chain<Chain<Iter<Section>, Iter<Section>>, Iter<Section>>, Iter<Section>>
pub fn into_iter(
self
) -> Chain<Chain<Chain<IntoIter<Section>, IntoIter<Section>>, IntoIter<Section>>, IntoIter<Section>>
[src]
self
) -> Chain<Chain<Chain<IntoIter<Section>, IntoIter<Section>>, IntoIter<Section>>, IntoIter<Section>>
pub fn compile(self, cursor: &mut Cursor) -> Vec<BytecodeInstruction>
[src]
Trait Implementations
impl Clone for Assembly
[src]
impl Debug for Assembly
[src]
impl Into<Vec<Instruction>> for Assembly
[src]
fn into(self) -> Vec<BytecodeInstruction>
[src]
impl Optimizable for Assembly
[src]
impl PartialEq<Assembly> for Assembly
[src]
Auto Trait Implementations
impl RefUnwindSafe for Assembly
impl Send for Assembly
impl Sync for Assembly
impl Unpin for Assembly
impl UnwindSafe for Assembly
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, 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>,