pub enum URLImageEnum {
PNG(PNGImage),
JPEG(JPEGImage),
SVG(SVGImage),
}Expand description
Sum type over the standard Cotis image formats for web apps.
Variants§
PNG(PNGImage)
PNG image path or URL.
JPEG(JPEGImage)
JPEG image path or URL.
SVG(SVGImage)
SVG image path or URL.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for URLImageEnum
impl RefUnwindSafe for URLImageEnum
impl Send for URLImageEnum
impl Sync for URLImageEnum
impl Unpin for URLImageEnum
impl UnsafeUnpin for URLImageEnum
impl UnwindSafe for URLImageEnum
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
Source§impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
Source§fn embed(self) -> RenderTList<H, TailTarget>
fn embed(self) -> RenderTList<H, TailTarget>
Converts
self into Target.