pub enum CotisImageError {
NotRelativePath,
EmptyPath,
}Expand description
Error returned when constructing path-based image wrappers.
Variants§
NotRelativePath
The path was absolute; Cotis image paths must be relative.
EmptyPath
The provided path was empty.
Trait Implementations§
Source§impl Clone for CotisImageError
impl Clone for CotisImageError
Source§fn clone(&self) -> CotisImageError
fn clone(&self) -> CotisImageError
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 CotisImageError
Source§impl Debug for CotisImageError
impl Debug for CotisImageError
impl Eq for CotisImageError
Source§impl PartialEq for CotisImageError
impl PartialEq for CotisImageError
impl StructuralPartialEq for CotisImageError
Auto Trait Implementations§
impl Freeze for CotisImageError
impl RefUnwindSafe for CotisImageError
impl Send for CotisImageError
impl Sync for CotisImageError
impl Unpin for CotisImageError
impl UnsafeUnpin for CotisImageError
impl UnwindSafe for CotisImageError
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.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.