Struct image2emblem::emblem::Emblem
[-] [+]
[src]
pub struct Emblem { pub checksum: [u8; 2], pub banner_data: [u8; 6144], // some fields omitted }
Fields
checksum | |
banner_data |
pub struct Emblem { pub checksum: [u8; 2], pub banner_data: [u8; 6144], // some fields omitted }
checksum | |
banner_data |
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]
impl Default for Emblem
fn default() -> Self
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).