[−][src]Struct xc2bit::XC2Bitstream
Toplevel struct representing an entire Coolrunner-II bitstream
Fields
speed_grade: XC2Speed
package: XC2Package
bits: XC2BitstreamBits
Methods
impl XC2Bitstream
[src]
pub fn dump_human_readable<W: Write>(&self, writer: W) -> Result<(), Error>
[src]
Dump a human-readable explanation of the bitstream to the given writer
object.
pub fn to_jed<W: Write>(&self, writer: W) -> Result<(), Error>
[src]
Write a .jed representation of the bitstream to the given writer
object.
pub fn to_crbit(&self) -> FuseArray
[src]
Converts the bitstream into a FuseArray object so that it can be written to the native "crbit" format
pub fn from_jed(jed: &JEDECFile) -> Result<Self, XC2BitError>
[src]
Processes a fuse array into a bitstream object
pub fn from_crbit(fuse_array: &FuseArray) -> Result<Self, XC2BitError>
[src]
Processes a fuse array (in physical addressing) into a bitstream object
pub fn blank_bitstream(part_combination: XC2DeviceSpeedPackage) -> Self
[src]
Construct a new blank bitstream of the given part
Trait Implementations
impl Serialize for XC2Bitstream
[src]
Auto Trait Implementations
impl RefUnwindSafe for XC2Bitstream
impl Send for XC2Bitstream
impl Sync for XC2Bitstream
impl Unpin for XC2Bitstream
impl UnwindSafe for XC2Bitstream
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> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,
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>,