[−][src]Enum iconwriter::IconError
The error type for operations of the Icon
trait.
Variants
The Icon
instance already includes an entry associated with this key.
Resample(ResampleError)
A resampling error.
Implementations
impl<K: AsSize + Send + Sync> IconError<K>
[src]
pub fn map<T: AsSize + Send + Sync, F: FnOnce(K) -> T>(
self,
f: F
) -> IconError<T>
[src]
self,
f: F
) -> IconError<T>
Converts self
to a IconError<T>
using f
.
Trait Implementations
impl<K: AsSize + Send + Sync + Debug> Debug for IconError<K>
[src]
impl<K: AsSize + Send + Sync> Display for IconError<K>
[src]
impl<K: AsSize + Send + Sync + Debug> Error for IconError<K>
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<K: AsSize + Send + Sync> From<Error> for IconError<K>
[src]
impl<K: AsSize + Send + Sync> From<ResampleError> for IconError<K>
[src]
pub fn from(err: ResampleError) -> Self
[src]
impl<K: AsSize + Send + Sync> Into<Error> for IconError<K>
[src]
Auto Trait Implementations
impl<K> !RefUnwindSafe for IconError<K>
[src]
impl<K> Send for IconError<K>
[src]
impl<K> Sync for IconError<K>
[src]
impl<K> Unpin for IconError<K> where
K: Unpin,
[src]
K: Unpin,
impl<K> !UnwindSafe for IconError<K>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> SetParameter for T
pub fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,