pub struct MouseRegion {
pub x0: usize,
pub y0: usize,
pub x1: usize,
pub y1: usize,
pub invert: bool,
pub text: Vec<u8>,
}Expand description
A clickable area: when clicked, text is sent to the BBS.
Fields§
§x0: usize§y0: usize§x1: usize§y1: usize§invert: boolShow the area inverted while it is clicked.
text: Vec<u8>Trait Implementations§
Source§impl Clone for MouseRegion
impl Clone for MouseRegion
Source§impl Debug for MouseRegion
impl Debug for MouseRegion
impl Eq for MouseRegion
Source§impl PartialEq for MouseRegion
impl PartialEq for MouseRegion
impl StructuralPartialEq for MouseRegion
Auto Trait Implementations§
impl Freeze for MouseRegion
impl RefUnwindSafe for MouseRegion
impl Send for MouseRegion
impl Sync for MouseRegion
impl Unpin for MouseRegion
impl UnsafeUnpin for MouseRegion
impl UnwindSafe for MouseRegion
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