pub struct ImageRecord {
pub header: String,
pub data: String,
pub trailing: String,
}Expand description
Complete image storage including metadata, palette, padding and footer.
Fields§
§header: StringOriginal pre-pixel bytes as hex.
data: StringOriginal encoded pixels including row padding as hex.
trailing: StringOriginal post-pixel suffix as hex.
Trait Implementations§
Source§impl Clone for ImageRecord
impl Clone for ImageRecord
Source§fn clone(&self) -> ImageRecord
fn clone(&self) -> ImageRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageRecord
impl Debug for ImageRecord
Source§impl<'de> Deserialize<'de> for ImageRecord
impl<'de> Deserialize<'de> for ImageRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ImageRecord
impl PartialEq for ImageRecord
Source§impl Serialize for ImageRecord
impl Serialize for ImageRecord
impl StructuralPartialEq for ImageRecord
Auto Trait Implementations§
impl Freeze for ImageRecord
impl RefUnwindSafe for ImageRecord
impl Send for ImageRecord
impl Sync for ImageRecord
impl Unpin for ImageRecord
impl UnsafeUnpin for ImageRecord
impl UnwindSafe for ImageRecord
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