mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
rust: fix missing imports
This commit is contained in:
parent
4d8efcab82
commit
bef4f534e9
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user