#[repr(C)]pub struct drmtap_display {
pub crtc_id: u32,
pub connector_id: u32,
pub name: [c_char; 32],
pub width: u32,
pub height: u32,
pub refresh_hz: u32,
pub active: c_int,
}Expand description
Information about a connected display
Fields§
§crtc_id: u32§connector_id: u32§name: [c_char; 32]§width: u32§height: u32§refresh_hz: u32§active: c_intTrait Implementations§
Source§impl Clone for drmtap_display
impl Clone for drmtap_display
Source§fn clone(&self) -> drmtap_display
fn clone(&self) -> drmtap_display
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 drmtap_display
Auto Trait Implementations§
impl Freeze for drmtap_display
impl RefUnwindSafe for drmtap_display
impl Send for drmtap_display
impl Sync for drmtap_display
impl Unpin for drmtap_display
impl UnsafeUnpin for drmtap_display
impl UnwindSafe for drmtap_display
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