[−][src]Struct fui::cursive::backend::curses::n::Backend
Backend using ncurses.
Methods
impl Backend
[src]
Trait Implementations
impl Backend for Backend
[src]
fn name(&self) -> &str
[src]
fn screen_size(&self) -> XY<usize>
[src]
fn has_colors(&self) -> bool
[src]
fn poll_event(&mut self) -> Option<Event>
[src]
fn finish(&mut self)
[src]
fn set_color(&self, colors: ColorPair) -> ColorPair
[src]
fn set_effect(&self, effect: Effect)
[src]
fn unset_effect(&self, effect: Effect)
[src]
fn clear(&self, color: Color)
[src]
fn refresh(&mut self)
[src]
fn print_at(&self, pos: XY<usize>, text: &str)
[src]
fn print_at_rep(&self, pos: XY<usize>, repetitions: usize, text: &str)
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> With for T
[src]
fn with<F>(self, f: F) -> Self where
F: FnOnce(&mut Self),
[src]
F: FnOnce(&mut Self),
Calls the given closure on self
.
fn try_with<E, F>(self, f: F) -> Result<Self, E> where
F: FnOnce(&mut Self) -> Result<(), E>,
[src]
F: FnOnce(&mut Self) -> Result<(), E>,
Calls the given closure on self
.
fn with_if<F>(self, condition: bool, f: F) -> Self where
F: FnOnce(&mut Self),
[src]
F: FnOnce(&mut Self),
Calls the given closure if condition == true
.