x-graphics 0.2.1

Graphics framework for X
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::{device::DeviceContextBackend, error::GraphicsError};

#[derive(Clone, Debug)]
pub struct CoreGraphicsDeviceContext {}

impl DeviceContextBackend for CoreGraphicsDeviceContext {
    fn new() -> Result<Self, GraphicsError> {
        Ok(Self {})
    }
}