pub struct SvgDocument {
pub svg: String,
pub width: u32,
pub height: u32,
pub colors_kept: u32,
pub contours: u32,
pub quantized: Vec<u8>,
pub denoise_device: String,
}Fields§
§svg: String§width: u32§height: u32§colors_kept: u32§contours: u32§quantized: Vec<u8>Packed RGB of the quantized source (length = widthheight3).
denoise_device: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for SvgDocument
impl RefUnwindSafe for SvgDocument
impl Send for SvgDocument
impl Sync for SvgDocument
impl Unpin for SvgDocument
impl UnsafeUnpin for SvgDocument
impl UnwindSafe for SvgDocument
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