graphics_error/builder/
from_std.rs

1use super::*;
2
3impl From<std::io::Error> for GraphicsError {
4    fn from(e: std::io::Error) -> Self {
5        Self { kind: GraphicsErrorKind::IOError(e), line: 0, column: 0, file: None }
6    }
7}