pub trait SurfaceExtManual: 'static {
    // Required methods
    fn create_similar_surface(
        &self,
        content: Content,
        width: i32,
        height: i32
    ) -> Surface;
    fn translate_coordinates(&self, to: &Surface, x: f64, y: f64) -> bool;
}
Expand description

Trait containing manually implemented methods of Surface.

Required Methods§

source

fn create_similar_surface( &self, content: Content, width: i32, height: i32 ) -> Surface

source

fn translate_coordinates(&self, to: &Surface, x: f64, y: f64) -> bool

Implementors§