pub struct PdfImage<'a> {
pub id: (u32, u16),
pub width: i64,
pub height: i64,
pub color_space: Option<String>,
pub filters: Option<Vec<String>>,
pub bits_per_component: Option<i64>,
pub content: &'a [u8],
pub origin_dict: &'a Dictionary,
}
Fields§
§id: (u32, u16)
§width: i64
§height: i64
§color_space: Option<String>
§filters: Option<Vec<String>>
§bits_per_component: Option<i64>
§content: &'a [u8]
Image Data
origin_dict: &'a Dictionary
Origin Stream Dictionary
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PdfImage<'a>
impl<'a> RefUnwindSafe for PdfImage<'a>
impl<'a> Send for PdfImage<'a>
impl<'a> Sync for PdfImage<'a>
impl<'a> Unpin for PdfImage<'a>
impl<'a> UnwindSafe for PdfImage<'a>
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