Struct postscript::compact::compound::Header [] [src]

pub struct Header {
    pub major: u8,
    pub minor: u8,
    pub header_size: u8,
    pub offset_size: OffsetSize,
}

A header.

Fields

major: u8 minor: u8 header_size: u8 offset_size: OffsetSize

Trait Implementations

impl Copy for Header
[src]

impl PartialEq for Header
[src]

fn eq(&self, __arg_0: &Header) -> bool

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

fn ne(&self, __arg_0: &Header) -> bool

This method tests for !=.

impl Eq for Header
[src]

impl Default for Header
[src]

fn default() -> Header

Returns the "default value" for a type. Read more

impl Debug for Header
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Header
[src]

fn clone(&self) -> Header

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Value for Header
[src]

fn read<T: Tape>(tape: &mut T) -> Result<Self>

Read a value.