Struct xmas_elf::header::Header [] [src]

pub struct Header<'a> {
    pub pt1: &'a HeaderPt1,
    pub pt2: Result<HeaderPt2<'a>, &'static str>,
}

Fields

pt1: &'a HeaderPt1 pt2: Result<HeaderPt2<'a>, &'static str>

Trait Implementations

impl<'a> Copy for Header<'a>
[src]

impl<'a> Clone for Header<'a>
[src]

fn clone(&self) -> Header<'a>

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<'a> Display for Header<'a>
[src]

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

Formats the value using the given formatter.