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