Struct image2emblem::emblem::Emblem [-] [+] [src]

pub struct Emblem {
    pub checksum: [u8; 2],
    pub banner_data: [u8; 6144],
    // some fields omitted
}

Fields

checksum
banner_data

Methods

impl Emblem

fn set_filename(self: &mut Self, filename: String)

fn set_timestamp(self: &mut Self, time: u32)

fn set_comment(self: &mut Self, comment: String)

fn set_emblem_data(self: &mut Self, image: DynamicImage, alpha_threshold: i8)

fn set_icon_data(self: &mut Self)

fn set_banner_data(self: &mut Self, image: DynamicImage, alpha_threshold: i8)

fn set_checksum(self: &mut Self)

fn as_bytes(self: Self) -> [u8; 24640]

Trait Implementations

impl Default for Emblem

fn default() -> Self