pub fn swap_behavior(&self) -> SwapBehavior {
        let (obj_data, funcs) = self.get_surface_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).swap_behavior)(obj_data);
            let ret_val = { transmute::<u32, SwapBehavior>(ret_val) };
            ret_val
        }
    }
///
/// Returns the configured swap behaviour.
///
/// **See also:** [`set_swap_behavior()`]
Returns the configured swap behaviour.
Returns the configured swap behaviour .
pub fn swap_behavior(&self) -> SwapBehavior {
        let (obj_data, funcs) = self.get_surface_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).swap_behavior)(obj_data);
            let ret_val = { transmute::<u32, SwapBehavior>(ret_val) };
            ret_val
        }
    }
pub fn swap_behavior ( & self ) -> SwapBehavior { let ( obj_data , funcs ) = self . get_surface_format_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . swap_behavior ) ( obj_data ) ; let ret_val = { transmute :: < u32 , SwapBehavior > ( ret_val ) } ; ret_val } }
Returns the configured swap behaviour.
Returns the configured swap behaviour .
&self
&self