pub struct Igs {
pub res: Res,
pub cursor_on: bool,
pub hold: Option<Instant>,
pub replies: Vec<u8>,
pub bells: usize,
/* private fields */
}Fields§
§res: Res§cursor_on: bool§hold: Option<Instant>t and q: read nothing more until then.
replies: Vec<u8>What the BBS should get (replies, zones clicked).
bells: usizeImplementations§
Source§impl Igs
impl Igs
pub fn width(&self) -> usize
pub fn height(&self) -> usize
pub fn palette(&self) -> [Rgb; 16]
Sourcepub fn cursor(&self) -> (usize, usize)
pub fn cursor(&self) -> (usize, usize)
Where the VT-52 cursor is, on the front end’s 80x25 text screen.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Igs
impl RefUnwindSafe for Igs
impl Send for Igs
impl Sync for Igs
impl Unpin for Igs
impl UnsafeUnpin for Igs
impl UnwindSafe for Igs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
Source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.