#[repr(C)]pub union TerminalScrollViewportValue {
pub delta: isize,
pub _padding: [u64; 2],
}Expand description
Scroll viewport value.
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 TerminalScrollViewportValue
impl Clone for TerminalScrollViewportValue
Source§fn clone(&self) -> TerminalScrollViewportValue
fn clone(&self) -> TerminalScrollViewportValue
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 TerminalScrollViewportValue
Auto Trait Implementations§
impl Freeze for TerminalScrollViewportValue
impl RefUnwindSafe for TerminalScrollViewportValue
impl Send for TerminalScrollViewportValue
impl Sync for TerminalScrollViewportValue
impl Unpin for TerminalScrollViewportValue
impl UnsafeUnpin for TerminalScrollViewportValue
impl UnwindSafe for TerminalScrollViewportValue
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