[−][src]Enum ihex::Record
Variants
Specifies a 16-bit offset address and up to 255 bytes of data. Availability: I8HEX, I16HEX and I32HEX.
Fields of Data
Indicates the end of the object file. Must occur exactly once per file, at the end. Availability: I8HEX, I16HEX and I32HEX.
ExtendedSegmentAddress(u16)
Specifies bits 4-19 of the Segment Base Address (SBA) to address up to 1MiB. Availability: I16HEX.
Specifies the 20-bit segment address via the CS and IP registers. Availability: I16HEX.
ExtendedLinearAddress(u16)
Specifies the upper 16 bits of a 32-bit linear address. The lower 16 bits are derived from the Data record load offset. Availability: I32HEX.
StartLinearAddress(u32)
Specifies the execution start address for the object file. This is the 32-bit linear address for register EIP. Availability: I32HEX.
Implementations
impl Record
[src]
pub fn from_record_string(string: &str) -> Result<Self, ReaderError>
[src]
Constructs a new Record
by parsing string
.
Examples
use ihex::Record; let record = Record::from_record_string(":00000001FF").unwrap();
impl Record
[src]
pub fn record_type(&self) -> u8
[src]
The record type specifier corresponding to the receiver.
impl Record
[src]
pub fn to_record_string(&self) -> Result<String, WriterError>
[src]
Returns the IHEX record representation of the receiver, or an error on failure.
Trait Implementations
impl Clone for Record
[src]
impl Debug for Record
[src]
impl Eq for Record
[src]
impl FromStr for Record
[src]
type Err = ReaderError
The associated error which can be returned from parsing.
fn from_str(input: &str) -> Result<Self, Self::Err>
[src]
impl Hash for Record
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Record> for Record
[src]
impl StructuralEq for Record
[src]
impl StructuralPartialEq for Record
[src]
Auto Trait Implementations
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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>,