pub fn options(&self) -> FormatOptions {
        let (obj_data, funcs) = self.get_surface_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).options)(obj_data);
            let ret_val = FormatOptions::from_bits_truncate(ret_val);
            ret_val
        }
    }
///
/// Returns the currently set format options.
///
/// **See also:** [`set_option()`]
/// [`set_options()`]
/// [`test_option()`]
Returns the currently set format options.
Returns the currently set format options .
pub fn options(&self) -> FormatOptions {
        let (obj_data, funcs) = self.get_surface_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).options)(obj_data);
            let ret_val = FormatOptions::from_bits_truncate(ret_val);
            ret_val
        }
    }
pub fn options ( & self ) -> FormatOptions { let ( obj_data , funcs ) = self . get_surface_format_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . options ) ( obj_data ) ; let ret_val = FormatOptions :: from_bits_truncate ( ret_val ) ; ret_val } }
Returns the currently set format options.
Returns the currently set format options .
&self
&self