[rust] derive Debug for Nc & NcD

pull/1573/head
joseLuís 4 years ago
parent 1b7ea2037a
commit c57a7b33cf

@ -5,6 +5,7 @@ use std::ops::{Deref, DerefMut};
use crate::{raw_wrap, NcDirect, NcResult};
/// Safe wrapper around [NcDirect], minimal notcurses instance for styling text.
#[derive(Debug)]
pub struct NcD<'a> {
pub(crate) raw: &'a mut NcDirect,
}

@ -7,6 +7,7 @@ use crate::{
};
/// Safe wrapper around [Notcurses], the main struct of the TUI library.
#[derive(Debug)]
pub struct Nc<'a> {
pub(crate) raw: &'a mut Notcurses,
}

Loading…
Cancel
Save