pub struct RenderedImage {
pub bytes: Vec<u8>,
pub content_type: String,
pub rev: String,
}Expand description
A rendered device image plus the metadata the display endpoint returns.
Fields§
§bytes: Vec<u8>§content_type: Stringimage/png or application/octet-stream (packed mono / rgb565).
rev: StringContent hash the device caches against (?rev=).
Trait Implementations§
Source§impl Clone for RenderedImage
impl Clone for RenderedImage
Source§fn clone(&self) -> RenderedImage
fn clone(&self) -> RenderedImage
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 RenderedImage
impl RefUnwindSafe for RenderedImage
impl Send for RenderedImage
impl Sync for RenderedImage
impl Unpin for RenderedImage
impl UnsafeUnpin for RenderedImage
impl UnwindSafe for RenderedImage
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