pub struct LayoutRect {
pub x: u16,
pub y: u16,
pub width: u16,
pub height: u16,
}Expand description
A layout rectangle in terminal cell coordinates.
Fields§
§x: u16X position (column).
y: u16Y position (row).
width: u16Width in columns.
height: u16Height in rows.
Implementations§
Trait Implementations§
Source§impl Clone for LayoutRect
impl Clone for LayoutRect
Source§fn clone(&self) -> LayoutRect
fn clone(&self) -> LayoutRect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutRect
impl Debug for LayoutRect
Source§impl Default for LayoutRect
impl Default for LayoutRect
Source§fn default() -> LayoutRect
fn default() -> LayoutRect
Returns the “default value” for a type. Read more
Source§impl PartialEq for LayoutRect
impl PartialEq for LayoutRect
impl Copy for LayoutRect
impl Eq for LayoutRect
impl StructuralPartialEq for LayoutRect
Auto Trait Implementations§
impl Freeze for LayoutRect
impl RefUnwindSafe for LayoutRect
impl Send for LayoutRect
impl Sync for LayoutRect
impl Unpin for LayoutRect
impl UnwindSafe for LayoutRect
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