pub struct DisplayConfigurations {
pub displays: Vec<DisplayConfiguration>,
pub user_configurable: u32,
pub max_displays: u32,
}Expand description
Provides information about all the displays that can be attached to the emulator. The emulator will always have at least one display.
The emulator usually has the following display configurations: 0: The default display. 1 - 3: User configurable displays. These can be added/removed. For example the standalone emulator allows you to modify these in the extended controls. 6 - 11: Fixed external displays. For example Android Auto uses fixed displays in this range.
Fields§
§displays: Vec<DisplayConfiguration>§user_configurable: u32Display configurations with id [1, userConfigurable] are user configurable, that is they can be added, removed or updated.
max_displays: u32The maximum number of attached displays this emulator supports. This is the total number of displays that can be attached to the emulator.
Note: A display with an id that is larger than userConfigurable cannot be modified.
Trait Implementations§
Source§impl Clone for DisplayConfigurations
impl Clone for DisplayConfigurations
Source§fn clone(&self) -> DisplayConfigurations
fn clone(&self) -> DisplayConfigurations
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DisplayConfigurations
impl Debug for DisplayConfigurations
Source§impl Default for DisplayConfigurations
impl Default for DisplayConfigurations
Source§impl Message for DisplayConfigurations
impl Message for DisplayConfigurations
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for DisplayConfigurations
impl PartialEq for DisplayConfigurations
impl StructuralPartialEq for DisplayConfigurations
Auto Trait Implementations§
impl Freeze for DisplayConfigurations
impl RefUnwindSafe for DisplayConfigurations
impl Send for DisplayConfigurations
impl Sync for DisplayConfigurations
impl Unpin for DisplayConfigurations
impl UnwindSafe for DisplayConfigurations
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request