pub enum Pixels {
Cached,
Slot(u32),
Inline {
format: ImageFormat,
bytes: Vec<u8>,
},
}Variants§
Cached
Already uploaded under this key.
Slot(u32)
In this shared-memory slot.
Inline
Inline bytes (the Fuzzball graphics model, binary framed): when there is no ring.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pixels
impl<'de> Deserialize<'de> for Pixels
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Pixels
impl StructuralPartialEq for Pixels
Auto Trait Implementations§
impl Forget for Pixels
impl Freeze for Pixels
impl RefUnwindSafe for Pixels
impl Send for Pixels
impl Sync for Pixels
impl Unpin for Pixels
impl UnsafeUnpin for Pixels
impl UnwindSafe for Pixels
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