Struct pepper::application::ClientApplication
source · [−]Fields
output: Option<O>
Implementations
sourceimpl<O> ClientApplication<O> where
O: Write,
impl<O> ClientApplication<O> where
O: Write,
pub fn new() -> Self
pub fn init(&mut self, args: Args) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
pub fn reinit_screen(&mut self)
pub fn restore_screen(&mut self)
pub fn update(
&mut self,
resize: Option<(u16, u16)>,
keys: &[Key],
stdin_bytes: Option<&[u8]>,
server_bytes: &[u8]
) -> (bool, &[u8])
pub fn get_stdout_bytes(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
Trait Implementations
Auto Trait Implementations
impl<O> RefUnwindSafe for ClientApplication<O> where
O: RefUnwindSafe,
impl<O> Send for ClientApplication<O> where
O: Send,
impl<O> Sync for ClientApplication<O> where
O: Sync,
impl<O> Unpin for ClientApplication<O> where
O: Unpin,
impl<O> UnwindSafe for ClientApplication<O> where
O: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more