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
Available on crate feature linux-framebuffer only.
impl From<FramebufferError> for ScreenError
Available on crate feature
linux-framebuffer only.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
Available on crate feature fonts only.
impl From<FromUtf16Error> for ScreenError
Available on crate feature
fonts only.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 UnsafeUnpin 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