pub enum DisplayOwnershipRequest {
GetEvent {
responder: DisplayOwnershipGetEventResponder,
},
}
Expand description
Get information about Scenic ownership of the primary display.
Variants§
GetEvent
Gets an event signaled with SIGNAL_DISPLAY_OWNED or SIGNAL_DISPLAY_NOT_OWNED when display ownership changes.
Fields
§
responder: DisplayOwnershipGetEventResponder
Implementations§
Source§impl DisplayOwnershipRequest
impl DisplayOwnershipRequest
pub fn into_get_event(self) -> Option<DisplayOwnershipGetEventResponder>
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 DisplayOwnershipRequest
impl !RefUnwindSafe for DisplayOwnershipRequest
impl Send for DisplayOwnershipRequest
impl Sync for DisplayOwnershipRequest
impl Unpin for DisplayOwnershipRequest
impl !UnwindSafe for DisplayOwnershipRequest
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