#[repr(C)]pub struct GhosttyDeviceAttributes {
pub primary: GhosttyDeviceAttributesPrimary,
pub secondary: GhosttyDeviceAttributesSecondary,
pub tertiary: GhosttyDeviceAttributesTertiary,
}Expand description
Device attributes response data for all three DA levels.
Filled by the device_attributes callback in response to CSI c, CSI > c, or CSI = c queries. The terminal uses whichever sub-struct matches the request type.
@ingroup terminal
Fields§
§primary: GhosttyDeviceAttributesPrimary§secondary: GhosttyDeviceAttributesSecondary§tertiary: GhosttyDeviceAttributesTertiaryTrait Implementations§
Source§impl Clone for GhosttyDeviceAttributes
impl Clone for GhosttyDeviceAttributes
Source§fn clone(&self) -> GhosttyDeviceAttributes
fn clone(&self) -> GhosttyDeviceAttributes
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 GhosttyDeviceAttributes
impl Debug for GhosttyDeviceAttributes
Source§impl Default for GhosttyDeviceAttributes
impl Default for GhosttyDeviceAttributes
impl Copy for GhosttyDeviceAttributes
Auto Trait Implementations§
impl Freeze for GhosttyDeviceAttributes
impl RefUnwindSafe for GhosttyDeviceAttributes
impl Send for GhosttyDeviceAttributes
impl Sync for GhosttyDeviceAttributes
impl Unpin for GhosttyDeviceAttributes
impl UnsafeUnpin for GhosttyDeviceAttributes
impl UnwindSafe for GhosttyDeviceAttributes
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