#[repr(C)]pub struct GridRef {
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.
Fields§
§size: usize§node: *mut c_void§x: u16§y: u16Trait Implementations§
Auto Trait Implementations§
impl !Send for GridRef
impl !Sync for GridRef
impl Freeze for GridRef
impl RefUnwindSafe for GridRef
impl Unpin for GridRef
impl UnsafeUnpin for GridRef
impl UnwindSafe for GridRef
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