pub struct PhotoDbEntry {
pub format_id: i32,
pub data: Vec<u8>,
pub ithmb_offset: i32,
pub image_size: i32,
pub width: i32,
pub height: i32,
}Expand description
A single thumbnail entry extracted from a PhotoDB/ArtworkDB binary file.
Fields§
§format_id: i32Format identifier matching a profile prefix (e.g. 1019).
data: Vec<u8>Raw thumbnail pixel data (empty for external .ithmb references).
ithmb_offset: i32Byte offset of the pixel data within the .ithmb file.
-1 for external (Apple TV / Animal) entries.
image_size: i32Byte size of the image data.
width: i32Image width in pixels.
height: i32Image height in pixels.
Trait Implementations§
Source§impl Clone for PhotoDbEntry
impl Clone for PhotoDbEntry
Source§fn clone(&self) -> PhotoDbEntry
fn clone(&self) -> PhotoDbEntry
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 moreAuto Trait Implementations§
impl Freeze for PhotoDbEntry
impl RefUnwindSafe for PhotoDbEntry
impl Send for PhotoDbEntry
impl Sync for PhotoDbEntry
impl Unpin for PhotoDbEntry
impl UnsafeUnpin for PhotoDbEntry
impl UnwindSafe for PhotoDbEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more