diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-12 11:26:45 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-12 11:26:45 -0500 |
commit | 4ead14a3153b34941570e87d67064e4aa93fa01a (patch) | |
tree | 8735f60ef0983878c5aba92b6874274a7754110a /src/private.rs | |
parent | 9885f5ca8db5060f95066b16f68f69c1a858cf0f (diff) | |
download | textmode-4ead14a3153b34941570e87d67064e4aa93fa01a.tar.gz textmode-4ead14a3153b34941570e87d67064e4aa93fa01a.zip |
naming
Diffstat (limited to 'src/private.rs')
-rw-r--r-- | src/private.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/private.rs b/src/private.rs index a925a27..6bb37a9 100644 --- a/src/private.rs +++ b/src/private.rs @@ -1,4 +1,4 @@ -pub trait TextmodeImpl { +pub trait Output { fn cur(&self) -> &vt100::Parser; fn cur_mut(&mut self) -> &mut vt100::Parser; fn next(&self) -> &vt100::Parser; @@ -15,7 +15,7 @@ pub trait TextmodeImpl { } } -pub trait InputImpl { +pub trait Input { fn buf(&self) -> &[u8]; fn buf_mut(&mut self) -> &mut [u8]; fn buf_mut_vec(&mut self) -> &mut Vec<u8>; |