pub enum OutputClass {
Scene,
Vector,
Raster(RasterFormat),
}Expand description
What kind of output the convert verb is producing — drives the
routing decision in the side-channel runners. Add new arms when new
formats are wired (e.g. .tiff → Raster once oxideav-tiff has an
encoder).
Variants§
Scene
Format consumes a whole oxideav_scene::Scene (.pdf today;
multi-page SVG would land here if we ever support it).
Vector
Format takes a single oxideav_core::vector::VectorFrame
per file, no rasterisation (.svg).
Raster(RasterFormat)
Format takes a rasterised RGBA / RGB buffer per file
(.png .jpg .bmp .webp, …).
Trait Implementations§
Source§impl Clone for OutputClass
impl Clone for OutputClass
Source§fn clone(&self) -> OutputClass
fn clone(&self) -> OutputClass
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 moreimpl Copy for OutputClass
Source§impl Debug for OutputClass
impl Debug for OutputClass
impl Eq for OutputClass
Source§impl PartialEq for OutputClass
impl PartialEq for OutputClass
impl StructuralPartialEq for OutputClass
Auto Trait Implementations§
impl Freeze for OutputClass
impl RefUnwindSafe for OutputClass
impl Send for OutputClass
impl Sync for OutputClass
impl Unpin for OutputClass
impl UnsafeUnpin for OutputClass
impl UnwindSafe for OutputClass
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.