pub enum Format {
Show 55 variants
Bmp,
Canon,
Cgimage,
Cmap,
Cmapx,
CmapxNp,
Dot,
DotJson,
Eps,
Exr,
Fig,
Gd,
Gd2,
Gif,
Gtk,
Gv,
Ico,
Imap,
ImapNp,
Ismap,
Jp2,
Jpe,
Jpeg,
Jpg,
Json,
Json0,
Pct,
Pdf,
Pic,
Pict,
Plain,
PlainExt,
Png,
Pov,
Ps,
Ps2,
Psd,
Sgi,
Svg,
Svgz,
Tga,
Tif,
Tiff,
Tk,
Vml,
Vmlz,
Vrml,
Wbmp,
Webp,
X11,
Xdot,
Xdot12,
Xdot14,
XdotJson,
Xlib,
}
Expand description
Output format.
Variants§
Bmp
Windows Bitmap.
Canon
Graphviz Language.
Cgimage
Apple Core Graphics.
Cmap
Image Map: Server-side and client-side.
Cmapx
Image Map: Server-side and client-side.
CmapxNp
Image Map: Server-side and client-side.
Dot
Graphviz Language.
DotJson
JavaScript Object Notation.
Eps
Encapsulated PostScript.
Exr
OpenEXR.
Fig
Xfig.
Gd
LibGD.
Gd2
LibGD.
Gif
Graphics Interchange Format.
Gtk
Formerly GTK+ / GIMP ToolKit.
Gv
Graphviz Language.
Ico
Windows Icon.
Imap
Image Map: Server-side and client-side.
ImapNp
Image Map: Server-side and client-side.
Ismap
Image Map: Server-side and client-side.
Jp2
nan.
Jpe
Joint Photographic Experts Group.
Jpeg
Joint Photographic Experts Group.
Jpg
Joint Photographic Experts Group.
Json
JavaScript Object Notation.
Json0
JavaScript Object Notation.
Pct
Apple PICT.
Portable Document Format.
Pic
Brian Kernighan’s Diagram Language.
Pict
Apple PICT.
Plain
Simple, line-based language.
PlainExt
Simple, line-based language.
Png
Portable Network Graphics.
Pov
Persistence of Vision Raytracer (prototype).
Ps
Adobe PostScript.
Ps2
Adobe PostScript for Portable Document Format.
Psd
Photoshop.
Sgi
Silicon Graphics Image.
Svg
Scalable Vector Graphics.
Svgz
Scalable Vector Graphics.
Tga
Truevision TARGA.
Tif
Tag Image File Format.
Tiff
Tag Image File Format.
Tk
Tcl/Tk.
Vml
Vector Markup Language..
Vmlz
Vector Markup Language..
Vrml
Virtual Reality Modeling Language.
Wbmp
Wireless Bitmap.
Webp
WebP.
X11
X11 Window.
Xdot
Graphviz Language.
Xdot12
Graphviz Language.
Xdot14
Graphviz Language.
XdotJson
JavaScript Object Notation.
Xlib
X11 Window.
Trait Implementations§
impl Copy for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).Source§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.