pub enum RenderError {
InvalidModuleSource {
width: usize,
height: usize,
len: usize,
},
ModuleSourceTooWide {
width: usize,
},
OutputTooLarge,
}Expand description
Errors returned by fallible render construction or rendering.
Variants§
InvalidModuleSource
The module source is not a non-empty square row-major QR module grid.
Fields
ModuleSourceTooWide
The module source is wider than this renderer can represent internally.
OutputTooLarge
The requested quiet zone, module size, or final canvas dimensions overflow this renderer’s coordinate space or exceed the backend’s buffer and output budget.
Trait Implementations§
Source§impl Clone for RenderError
impl Clone for RenderError
impl Copy for RenderError
Source§impl Debug for RenderError
impl Debug for RenderError
Source§impl Display for RenderError
impl Display for RenderError
impl Eq for RenderError
Source§impl PartialEq for RenderError
impl PartialEq for RenderError
impl StructuralPartialEq for RenderError
Auto Trait Implementations§
impl Freeze for RenderError
impl RefUnwindSafe for RenderError
impl Send for RenderError
impl Sync for RenderError
impl Unpin for RenderError
impl UnsafeUnpin for RenderError
impl UnwindSafe for RenderError
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