pub struct GudConnector<'d> {
pub connector_type: u8,
pub flags: u32,
pub state: &'d ConnectorState<'d>,
pub properties: &'d [Property],
pub tv_mode_values: Option<&'d [[u8; 16]]>,
}Expand description
Static connector descriptor.
Fields§
§connector_type: u8CONNECTOR_TYPE_*. Hosts fall back to PANEL for unsupported types.
flags: u32CONNECTOR_FLAGS_* bits.
state: &'d ConnectorState<'d>Current connector status, display modes and EDID.
properties: &'d [Property]Connector properties; val holds the initial value reported to the host.
tv_mode_values: Option<&'d [[u8; 16]]>NUL-terminated TV mode names (16 bytes each). Only used when a
PROPERTY_TV_MODE property is declared.
Trait Implementations§
Source§impl<'d> Clone for GudConnector<'d>
impl<'d> Clone for GudConnector<'d>
impl<'d> Copy for GudConnector<'d>
Auto Trait Implementations§
impl<'d> !RefUnwindSafe for GudConnector<'d>
impl<'d> !UnwindSafe for GudConnector<'d>
impl<'d> Forget for GudConnector<'d>
impl<'d> Freeze for GudConnector<'d>
impl<'d> Move for GudConnector<'d>
impl<'d> Send for GudConnector<'d>
impl<'d> Sync for GudConnector<'d>
impl<'d> Unpin for GudConnector<'d>
impl<'d> UnsafeUnpin for GudConnector<'d>
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