#[repr(C)]pub struct GhosttyGridRef {
pub size: usize,
pub node: *mut c_void,
pub x: u16,
pub y: u16,
}Expand description
A resolved reference to a terminal cell position.
This is a sized struct. Use GHOSTTY_INIT_SIZED() to initialize it.
@ingroup grid_ref
Fields§
§size: usize§node: *mut c_void§x: u16§y: u16Trait Implementations§
Source§impl Clone for GhosttyGridRef
impl Clone for GhosttyGridRef
Source§fn clone(&self) -> GhosttyGridRef
fn clone(&self) -> GhosttyGridRef
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 GhosttyGridRef
impl Debug for GhosttyGridRef
Source§impl Default for GhosttyGridRef
impl Default for GhosttyGridRef
impl Copy for GhosttyGridRef
Auto Trait Implementations§
impl Freeze for GhosttyGridRef
impl RefUnwindSafe for GhosttyGridRef
impl !Send for GhosttyGridRef
impl !Sync for GhosttyGridRef
impl Unpin for GhosttyGridRef
impl UnsafeUnpin for GhosttyGridRef
impl UnwindSafe for GhosttyGridRef
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