pub struct ControlArea {
pub start_x: u16,
pub start_y: u16,
pub end_x: u16,
pub end_y: u16,
}Expand description
The cabinet’s rectangle in the whole screen, from the first 8 bytes of the
42-byte control-area record: startX, startY, endX, endY, end exclusive.
Fields§
§start_x: u16§start_y: u16§end_x: u16§end_y: u16Implementations§
Trait Implementations§
Source§impl Clone for ControlArea
impl Clone for ControlArea
Source§fn clone(&self) -> ControlArea
fn clone(&self) -> ControlArea
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlArea
Source§impl Debug for ControlArea
impl Debug for ControlArea
impl Eq for ControlArea
Source§impl PartialEq for ControlArea
impl PartialEq for ControlArea
impl StructuralPartialEq for ControlArea
Auto Trait Implementations§
impl Freeze for ControlArea
impl RefUnwindSafe for ControlArea
impl Send for ControlArea
impl Sync for ControlArea
impl Unpin for ControlArea
impl UnsafeUnpin for ControlArea
impl UnwindSafe for ControlArea
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