#[repr(C)]pub struct DeviceAttributes {
pub primary: DeviceAttributesPrimary,
pub secondary: DeviceAttributesSecondary,
pub tertiary: DeviceAttributesTertiary,
}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.
Fields§
§primary: DeviceAttributesPrimary§secondary: DeviceAttributesSecondary§tertiary: DeviceAttributesTertiaryTrait Implementations§
Source§impl Clone for DeviceAttributes
impl Clone for DeviceAttributes
Source§fn clone(&self) -> DeviceAttributes
fn clone(&self) -> DeviceAttributes
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 DeviceAttributes
Source§impl Debug for DeviceAttributes
impl Debug for DeviceAttributes
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