#[repr(C)]pub struct GhosttyDeviceAttributesPrimary {
pub conformance_level: u16,
pub features: [u16; 64],
pub num_features: usize,
}Expand description
Primary device attributes (DA1) response data.
Returned as part of GhosttyDeviceAttributes in response to a CSI c query. The conformance_level is the Pp parameter and features contains the Ps feature codes.
@ingroup terminal
Fields§
§conformance_level: u16Conformance level (Pp parameter). E.g. 62 for VT220.
features: [u16; 64]DA1 feature codes. Only the first num_features entries are valid.
num_features: usizeNumber of valid entries in the features array.
Trait Implementations§
Source§impl Clone for GhosttyDeviceAttributesPrimary
impl Clone for GhosttyDeviceAttributesPrimary
Source§fn clone(&self) -> GhosttyDeviceAttributesPrimary
fn clone(&self) -> GhosttyDeviceAttributesPrimary
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 GhosttyDeviceAttributesPrimary
Auto Trait Implementations§
impl Freeze for GhosttyDeviceAttributesPrimary
impl RefUnwindSafe for GhosttyDeviceAttributesPrimary
impl Send for GhosttyDeviceAttributesPrimary
impl Sync for GhosttyDeviceAttributesPrimary
impl Unpin for GhosttyDeviceAttributesPrimary
impl UnsafeUnpin for GhosttyDeviceAttributesPrimary
impl UnwindSafe for GhosttyDeviceAttributesPrimary
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