pub enum DisplayDeviceRequest {
GetDisplayState {
responder: DisplayDeviceGetDisplayStateResponder,
},
GetDisplayInfo {
responder: DisplayDeviceGetDisplayInfoResponder,
},
GetDisplaySelect {
responder: DisplayDeviceGetDisplaySelectResponder,
},
SetDisplaySelect {
payload: DisplayDeviceSetDisplaySelectRequest,
responder: DisplayDeviceSetDisplaySelectResponder,
},
}
Expand description
Protocol for interacting with the Google-specific display hardware.
Variants§
GetDisplayState
Gets the current state of the display.
Fields
§
responder: DisplayDeviceGetDisplayStateResponder
GetDisplayInfo
Gets synchronization information for the display. This can include the display’s mode, panel mode, and brightness levels.
Fields
§
responder: DisplayDeviceGetDisplayInfoResponder
GetDisplaySelect
Gets the current display owner, which is either the AP (Application Processor) or the MCU (Microcontroller Unit).
Fields
§
responder: DisplayDeviceGetDisplaySelectResponder
SetDisplaySelect
Sets the display owner to be either the AP (Application Processor) or the MCU (Microcontroller Unit).
Fields
§
responder: DisplayDeviceSetDisplaySelectResponder
Implementations§
Source§impl DisplayDeviceRequest
impl DisplayDeviceRequest
pub fn into_get_display_state( self, ) -> Option<DisplayDeviceGetDisplayStateResponder>
pub fn into_get_display_info( self, ) -> Option<DisplayDeviceGetDisplayInfoResponder>
pub fn into_get_display_select( self, ) -> Option<DisplayDeviceGetDisplaySelectResponder>
pub fn into_set_display_select( self, ) -> Option<(DisplayDeviceSetDisplaySelectRequest, DisplayDeviceSetDisplaySelectResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DisplayDeviceRequest
impl !RefUnwindSafe for DisplayDeviceRequest
impl Send for DisplayDeviceRequest
impl Sync for DisplayDeviceRequest
impl Unpin for DisplayDeviceRequest
impl !UnwindSafe for DisplayDeviceRequest
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