[−][src]Enum luminance::buffer::BufferError
Buffer errors.
Variants
Overflow(usize, usize)
Overflow when setting a value with a specific index.
Contains the index and the size of the buffer.
TooFewValues(usize, usize)
Too few values were passed to fill a buffer.
Contains the number of passed value and the size of the buffer.
TooManyValues(usize, usize)
Too many values were passed to fill a buffer.
Contains the number of passed value and the size of the buffer.
MapFailed
Mapping the buffer failed.
Trait Implementations
impl Eq for BufferError
[src]
impl PartialEq<BufferError> for BufferError
[src]
fn eq(&self, other: &BufferError) -> bool
[src]
fn ne(&self, other: &BufferError) -> bool
[src]
impl Debug for BufferError
[src]
impl Display for BufferError
[src]
Auto Trait Implementations
impl Send for BufferError
impl Unpin for BufferError
impl Sync for BufferError
impl UnwindSafe for BufferError
impl RefUnwindSafe for BufferError
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,