#[repr(C)]pub struct GhosttyDeviceAttributesSecondary {
pub device_type: u16,
pub firmware_version: u16,
pub rom_cartridge: u16,
}Expand description
Secondary device attributes (DA2) response data.
Returned as part of GhosttyDeviceAttributes in response to a CSI > c query. Response format: CSI > Pp ; Pv ; Pc c
@ingroup terminal
Fields§
§device_type: u16Terminal type identifier (Pp). E.g. 1 for VT220.
firmware_version: u16Firmware/patch version number (Pv).
rom_cartridge: u16ROM cartridge registration number (Pc). Always 0 for emulators.
Trait Implementations§
Source§impl Clone for GhosttyDeviceAttributesSecondary
impl Clone for GhosttyDeviceAttributesSecondary
Source§fn clone(&self) -> GhosttyDeviceAttributesSecondary
fn clone(&self) -> GhosttyDeviceAttributesSecondary
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 Default for GhosttyDeviceAttributesSecondary
impl Default for GhosttyDeviceAttributesSecondary
Source§fn default() -> GhosttyDeviceAttributesSecondary
fn default() -> GhosttyDeviceAttributesSecondary
Returns the “default value” for a type. Read more
impl Copy for GhosttyDeviceAttributesSecondary
Auto Trait Implementations§
impl Freeze for GhosttyDeviceAttributesSecondary
impl RefUnwindSafe for GhosttyDeviceAttributesSecondary
impl Send for GhosttyDeviceAttributesSecondary
impl Sync for GhosttyDeviceAttributesSecondary
impl Unpin for GhosttyDeviceAttributesSecondary
impl UnsafeUnpin for GhosttyDeviceAttributesSecondary
impl UnwindSafe for GhosttyDeviceAttributesSecondary
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