Struct jedec::JEDECFile [] [src]

pub struct JEDECFile {
    pub f: Vec<bool>,
    pub dev_name_str: Option<String>,
}

Struct representing a JEDEC programming file. Primarily consists of a fuse array, and also contains some other miscellaneous fields.

Fields

Fuse array

Possibly contains a device name

Methods

impl JEDECFile
[src]

[src]

Reads .jed file and outputs the fuses as an array of booleans and optional device name

[src]

Writes the contents to a JEDEC file. Note that a &mut Write can also be passed as a writer. Line breaks are inserted before the given fuse numbers in the iterator.

[src]

Writes the contents to a JEDEC file. Note that a &mut Write can also be passed as a writer. Line breaks happen every break_inverval fuses.

[src]

Writes the contents to a JEDEC file. Note that a &mut Write can also be passed as a writer. Line breaks default to once every 16 fuses.

[src]

Constructs a fuse array with the given number of fuses

Trait Implementations

impl Clone for JEDECFile
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for JEDECFile
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for JEDECFile
[src]

impl Hash for JEDECFile
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for JEDECFile
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for JEDECFile

impl Sync for JEDECFile