rust: fix missing imports

This commit is contained in:
joseLuís 2020-12-25 23:12:08 +01:00
parent 4d8efcab82
commit bef4f534e9
2 changed files with 4 additions and 2 deletions

View File

@ -165,6 +165,8 @@ pub use ffi::{
ncdirect_palette_size, ncdirect_palette_size,
ncdirect_printf_aligned, ncdirect_printf_aligned,
ncdirect_putstr, ncdirect_putstr,
ncdirect_raster_frame,
ncdirect_render_frame,
ncdirect_render_image, ncdirect_render_image,
ncdirect_rounded_box, ncdirect_rounded_box,
ncdirect_stop, ncdirect_stop,

View File

@ -70,7 +70,7 @@ impl NcDirect {
/// The `align`, `blitter`, and `scale` arguments must be the same as those /// The `align`, `blitter`, and `scale` arguments must be the same as those
/// passed to render_frame(). /// passed to render_frame().
/// ///
/// *C style function: [ncdirect_render_image()][crate::ncdirect_render_image].* /// *C style function: [ncdirect_raster_frame()][crate::ncdirect_raster_frame].*
pub fn raster_frame( pub fn raster_frame(
&mut self, &mut self,
faken: &mut NcPlane, faken: &mut NcPlane,
@ -97,7 +97,7 @@ impl NcDirect {
/// The `align`, `blitter`, and `scale` arguments must be the same as those /// The `align`, `blitter`, and `scale` arguments must be the same as those
/// passed to render_frame(). /// passed to render_frame().
/// ///
/// *C style function: [ncdirect_render_image()][crate::ncdirect_render_image].* /// *C style function: [ncdirect_render_frame()][crate::ncdirect_render_frame].*
pub fn render_frame<'a>( pub fn render_frame<'a>(
&mut self, &mut self,
filename: &str, filename: &str,