Enum rano::ass::layout::LayoutErrorType[][src]

pub enum LayoutErrorType {
    ReferenceRedefinition(SpanSpan),
    OrgOverlapping {
        before: Span,
        here: Span,
        before_org: u16,
        before_len: u16,
        here_org: u16,
    },
    UnresolvedReset(String),
}

Variants

ReferenceRedefinition(SpanSpan)

Indicates that a reference was defined more than one time in the assembly, which is illiegal

OrgOverlapping

Indicates that an org directive would cause some section to overwrite existing instructions

Fields of OrgOverlapping

before: Spanhere: Spanbefore_org: u16before_len: u16here_org: u16
UnresolvedReset(String)

Indicates that that

  1. The reset vector was to be searched for as a label
  2. The label specified was not defined in the file

Trait Implementations

impl Debug for LayoutErrorType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.