pub enum ScreenError {
Framebuffer(FramebufferError),
Unicode(FromUtf16Error),
}Expand description
Errors that this crate can return
Variants§
Framebuffer(FramebufferError)
Unicode(FromUtf16Error)
Trait Implementations§
Source§impl Debug for ScreenError
impl Debug for ScreenError
Source§impl From<FramebufferError> for ScreenError
impl From<FramebufferError> for ScreenError
Source§fn from(err: FramebufferError) -> ScreenError
fn from(err: FramebufferError) -> ScreenError
Converts to this type from the input type.
Source§impl From<FromUtf16Error> for ScreenError
impl From<FromUtf16Error> for ScreenError
Source§fn from(err: FromUtf16Error) -> ScreenError
fn from(err: FromUtf16Error) -> ScreenError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ScreenError
impl RefUnwindSafe for ScreenError
impl Send for ScreenError
impl Sync for ScreenError
impl Unpin for ScreenError
impl UnwindSafe for ScreenError
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