Struct cp437_tools::meta::Meta
source · pub struct Meta {
pub title: String,
pub author: String,
pub group: String,
pub date: String,
pub size: u32,
pub type: (u8, u8),
pub width: u16,
pub height: u16,
pub notes: Vec<String>,
pub flags: u8,
pub font: String,
}Expand description
A structure representing a file’s metadata
Fields§
§title: StringThe image’s title
The image’s author
group: StringThe image author’s team or group
date: StringThe image creation date, in the YYYYMMDD format
size: u32The size of the file, sans this metadata
type: (u8, u8)The type of this file
Only supported values are
(1, 0)→Character/ASCII(1, 1)→Character/ANSI
width: u16Width of the image
height: u16Height of the image
notes: Vec<String>A list of comments on this image
flags: u8A bitfield of flags that define how to process an image
font: StringThe name of the font this image uses
Only IBM VGA is supported.
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnwindSafe for Meta
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more