pub fn load_font_at_index_from_rwops<'ttf, 'r>(
        &'ttf self,
        rwops: RWops<'r>,
        index: u32,
        point_size: u16,
    ) -> Result<Font<'ttf, 'r>, String> {
        let raw = unsafe {
            ttf::TTF_OpenFontIndexRW(rwops.raw(), 0, point_size as c_int, index as c_long)
        };
        if (raw as *mut ()).is_null() {
            Err(get_error())
        } else {
            Ok(internal_load_font_from_ll(raw, Some(rwops)))
        }
    }
/// Loads the font at the given index of the SDL2 rwops object with
/// the given size in points.
Loads the font at the given index of the SDL2 rwops object with
the given size in points.
Loads the font at the given index of the SDL2 rwops object with the given size in points .
pub fn load_font_at_index_from_rwops<'ttf, 'r>(
        &'ttf self,
        rwops: RWops<'r>,
        index: u32,
        point_size: u16,
    ) -> Result<Font<'ttf, 'r>, String> {
        let raw = unsafe {
            ttf::TTF_OpenFontIndexRW(rwops.raw(), 0, point_size as c_int, index as c_long)
        };
        if (raw as *mut ()).is_null() {
            Err(get_error())
        } else {
            Ok(internal_load_font_from_ll(raw, Some(rwops)))
        }
    }
pub fn load_font_at_index_from_rwops < ' ttf , ' r > ( & ' ttf self , rwops : RWops < ' r > , index : u32 , point_size : u16 , ) -> Result < Font < ' ttf , ' r > , String > { let raw = unsafe { ttf :: TTF_OpenFontIndexRW ( rwops . raw ( ) , 0 , point_size as c_int , index as c_long ) } ; if ( raw as * mut ( ) ) . is_null ( ) { Err ( get_error ( ) ) } else { Ok ( internal_load_font_from_ll ( raw , Some ( rwops ) ) ) } }
Loads the font at the given index of the SDL2 rwops object with
the given size in points.
Loads the font at the given index of the SDL2 rwops object with the given size in points .
&'ttf self
rwops
RWops<'r>
index
u32
point_size
u16
&'ttf self
rwops
RWops<'r>
index
u32
point_size
u16