pub struct CellImage {
pub bytes: Vec<u8>,
pub ext: String,
pub name: Option<String>,
}Expand description
单元格内嵌图片
Fields§
§bytes: Vec<u8>§ext: String扩展名(小写,不带点):png / jpg / gif / webp / bmp
name: Option<String>原始文件名或占位名(仅用于展示 / 落库时取名字)
Implementations§
Trait Implementations§
impl Eq for CellImage
impl StructuralPartialEq for CellImage
Auto Trait Implementations§
impl Freeze for CellImage
impl RefUnwindSafe for CellImage
impl Send for CellImage
impl Sync for CellImage
impl Unpin for CellImage
impl UnsafeUnpin for CellImage
impl UnwindSafe for CellImage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.