Enum gaffe_xilinx::xc7::Packet[][src]

pub enum Packet {
    Type0,
    Type1 {
        opcode: Opcode,
        address: RegisterAddress,
        payload: Vec<Word>,
    },
    Type2 {
        opcode: Opcode,
        payload: Vec<Word>,
    },
}

Variants

Fields of Type1

Fields of Type2

Methods

impl Packet
[src]

Trait Implementations

impl Debug for Packet
[src]

Formats the value using the given formatter. Read more

impl Clone for Packet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> From<T> for Packet where
    T: ToWord + Register
[src]

Performs the conversion.

impl Display for Packet
[src]

Formats the value using the given formatter. Read more

impl FromBytes for Packet
[src]

Read an instance of this type from the reader. Read more

impl ToBytes for Packet
[src]

Write an instance of this type to the writer. Read more

Auto Trait Implementations

impl Send for Packet

impl Sync for Packet