pub struct Thumbnail(/* private fields */);Expand description
Thumbnail
Implementations§
Source§impl Thumbnail
impl Thumbnail
Sourcepub fn get_data_size(&self) -> usize
pub fn get_data_size(&self) -> usize
Get the data size
Sourcepub fn get_format(&self) -> DataType
pub fn get_format(&self) -> DataType
Get the thumbnail format
Sourcepub fn get_dimensions(&self) -> (u32, u32)
pub fn get_dimensions(&self) -> (u32, u32)
Get the (x, y) dimension of the thumbnail
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Thumbnail
impl RefUnwindSafe for Thumbnail
impl !Send for Thumbnail
impl !Sync for Thumbnail
impl Unpin for Thumbnail
impl UnwindSafe for Thumbnail
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