#[repr(C)]pub union GhosttyTerminalScrollViewportValue {
pub delta: isize,
pub _padding: [u64; 2],
}Expand description
Scroll viewport value.
@ingroup terminal
Fields§
§delta: isizeScroll delta (only used with GHOSTTY_SCROLL_VIEWPORT_DELTA). Up is negative.
_padding: [u64; 2]Padding for ABI compatibility. Do not use.
Trait Implementations§
Source§impl Clone for GhosttyTerminalScrollViewportValue
impl Clone for GhosttyTerminalScrollViewportValue
Source§fn clone(&self) -> GhosttyTerminalScrollViewportValue
fn clone(&self) -> GhosttyTerminalScrollViewportValue
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 moreimpl Copy for GhosttyTerminalScrollViewportValue
Auto Trait Implementations§
impl Freeze for GhosttyTerminalScrollViewportValue
impl RefUnwindSafe for GhosttyTerminalScrollViewportValue
impl Send for GhosttyTerminalScrollViewportValue
impl Sync for GhosttyTerminalScrollViewportValue
impl Unpin for GhosttyTerminalScrollViewportValue
impl UnsafeUnpin for GhosttyTerminalScrollViewportValue
impl UnwindSafe for GhosttyTerminalScrollViewportValue
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