pub fn surface_type(&self) -> SurfaceType {
        let (obj_data, funcs) = self.get_surface_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).surface_type)(obj_data);
            let ret_val = { transmute::<u32, SurfaceType>(ret_val) };
            ret_val
        }
    }
///
/// Returns the type of the surface.
Returns the type of the surface.
Returns the type of the surface .
pub fn surface_type(&self) -> SurfaceType {
        let (obj_data, funcs) = self.get_surface_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).surface_type)(obj_data);
            let ret_val = { transmute::<u32, SurfaceType>(ret_val) };
            ret_val
        }
    }
pub fn surface_type ( & self ) -> SurfaceType { let ( obj_data , funcs ) = self . get_surface_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . surface_type ) ( obj_data ) ; let ret_val = { transmute :: < u32 , SurfaceType > ( ret_val ) } ; ret_val } }
Returns the type of the surface.
Returns the type of the surface .
&self
&self