pub struct ArtInput {
pub art_id: i64,
pub mime: String,
pub description: String,
pub picture_type: PictureType,
pub width: u32,
pub height: u32,
pub data_len: BlobLen,
}Expand description
A reference to one embedded picture to synthesize. The image bytes themselves
are NOT held here — only data_len, the exact byte length — because the caller
streams the image into the spliced region at read time. art_id is an opaque
handle the caller maps back to its blob store.
Fields§
§art_id: i64§mime: String§description: String§picture_type: PictureType§width: u32§height: u32§data_len: BlobLenTrait Implementations§
impl Eq for ArtInput
impl StructuralPartialEq for ArtInput
Auto Trait Implementations§
impl Freeze for ArtInput
impl RefUnwindSafe for ArtInput
impl Send for ArtInput
impl Sync for ArtInput
impl Unpin for ArtInput
impl UnsafeUnpin for ArtInput
impl UnwindSafe for ArtInput
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