pub enum Error {
RGBParse,
PaletteTooSmall,
UnknownOption(String),
BadFile {
path: String,
err: Error,
},
}
An error handling the --color
input option.
Error parsing the palette as a hexidecimal unsigned integer
The custom palette only has one (or zero! colors)
An error accessing a file
Show fields
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
#[must_use]
pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T> Pointable for T
The alignment of pointer.
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
Initializes a with the given initializer. Read more
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
Mutably dereferences the given pointer. Read more
pub unsafe fn drop(ptr: usize)
Drops the object pointed to by the given pointer. Read more
Converts the given value to a String
. Read more
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.