#[repr(C)]pub struct SelectionGestureGeometry {
pub columns: u32,
pub cell_width: u32,
pub padding_left: u32,
pub screen_height: u32,
}Expand description
Display geometry used to interpret selection gesture drag events.
Fields§
§columns: u32Number of columns in the rendered terminal grid. Must be non-zero.
cell_width: u32Width of one terminal cell in surface pixels. Must be non-zero.
padding_left: u32Left padding before the terminal grid begins in surface pixels.
screen_height: u32Height of the rendered terminal surface in surface pixels. Must be non-zero.
Trait Implementations§
Source§impl Clone for SelectionGestureGeometry
impl Clone for SelectionGestureGeometry
Source§fn clone(&self) -> SelectionGestureGeometry
fn clone(&self) -> SelectionGestureGeometry
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 SelectionGestureGeometry
Source§impl Debug for SelectionGestureGeometry
impl Debug for SelectionGestureGeometry
Source§impl Default for SelectionGestureGeometry
impl Default for SelectionGestureGeometry
Source§fn default() -> SelectionGestureGeometry
fn default() -> SelectionGestureGeometry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SelectionGestureGeometry
impl RefUnwindSafe for SelectionGestureGeometry
impl Send for SelectionGestureGeometry
impl Sync for SelectionGestureGeometry
impl Unpin for SelectionGestureGeometry
impl UnsafeUnpin for SelectionGestureGeometry
impl UnwindSafe for SelectionGestureGeometry
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