pub struct CellPicture {
pub data: Vec<u8>,
pub mime: String,
pub alt: String,
}Expand description
A static picture stored as cell content, independent of floating drawing anchors.
Fields§
§data: Vec<u8>Encoded PNG/JPEG bytes, base64 in JSON. Sheet entries share the payload through Arc.
mime: String§alt: StringTrait Implementations§
Source§impl Clone for CellPicture
impl Clone for CellPicture
Source§fn clone(&self) -> CellPicture
fn clone(&self) -> CellPicture
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 moreSource§impl Debug for CellPicture
impl Debug for CellPicture
Source§impl<'de> Deserialize<'de> for CellPicture
impl<'de> Deserialize<'de> for CellPicture
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
Source§impl PartialEq for CellPicture
impl PartialEq for CellPicture
Source§impl Serialize for CellPicture
impl Serialize for CellPicture
impl StructuralPartialEq for CellPicture
Auto Trait Implementations§
impl Freeze for CellPicture
impl RefUnwindSafe for CellPicture
impl Send for CellPicture
impl Sync for CellPicture
impl Unpin for CellPicture
impl UnsafeUnpin for CellPicture
impl UnwindSafe for CellPicture
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