pub struct DeviceAttributes {
pub primary: PrimaryDeviceAttributes,
pub secondary: SecondaryDeviceAttributes,
pub tertiary: TertiaryDeviceAttributes,
}Expand description
Device attributes response data for all three DA levels.
Filled by the Terminal::on_device_attributes callback in response
to CSI c, CSI > c, or CSI = c queries. The terminal uses whichever
sub-struct matches the request type.
Fields§
§primary: PrimaryDeviceAttributesPrimary device attributes (DA1).
secondary: SecondaryDeviceAttributesSecondary device attributes (DA2).
tertiary: TertiaryDeviceAttributesTertiary device attributes (DA3).
Trait Implementations§
Source§impl Clone for DeviceAttributes
impl Clone for DeviceAttributes
impl Copy for DeviceAttributes
Source§impl Debug for DeviceAttributes
impl Debug for DeviceAttributes
Source§impl From<DeviceAttributes> for DeviceAttributes
impl From<DeviceAttributes> for DeviceAttributes
Source§fn from(value: DeviceAttributes) -> Self
fn from(value: DeviceAttributes) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceAttributes
impl RefUnwindSafe for DeviceAttributes
impl Send for DeviceAttributes
impl Sync for DeviceAttributes
impl Unpin for DeviceAttributes
impl UnsafeUnpin for DeviceAttributes
impl UnwindSafe for DeviceAttributes
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