pub struct TinyVg {
pub header: TinyVgHeader,
pub color_table: ColorTable,
pub draw_commands: Vec<DrawCommand>,
}Fields§
§header: TinyVgHeader§color_table: ColorTable§draw_commands: Vec<DrawCommand>Implementations§
Source§impl TinyVg
impl TinyVg
pub fn from_bytes(data: &[u8]) -> Result<TinyVg, TinyVgParseError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TinyVg
impl RefUnwindSafe for TinyVg
impl Send for TinyVg
impl Sync for TinyVg
impl Unpin for TinyVg
impl UnwindSafe for TinyVg
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