pub struct ImageFile {
pub name: String,
pub png: Vec<u8>,
}Expand description
An image written beside an SVG document instead of being embedded in
it (see SvgOptions::image_files).
Fields§
§name: StringThe file name the document links to.
png: Vec<u8>The PNG file.
Trait Implementations§
impl Eq for ImageFile
impl StructuralPartialEq for ImageFile
Auto Trait Implementations§
impl Forget for ImageFile
impl Freeze for ImageFile
impl Move for ImageFile
impl RefUnwindSafe for ImageFile
impl Send for ImageFile
impl Sync for ImageFile
impl Unpin for ImageFile
impl UnsafeUnpin for ImageFile
impl UnwindSafe for ImageFile
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