pub struct WindowInfo {
pub layout_params_flags: Option<u32>,
pub layout_params_type: Option<i32>,
pub touchable_region: Option<RegionProto>,
pub surface_inset: Option<i32>,
pub focusable: Option<bool>,
pub has_wallpaper: Option<bool>,
pub global_scale_factor: Option<f32>,
pub crop_layer_id: Option<u32>,
pub replace_touchable_region_with_crop: Option<bool>,
pub touchable_region_crop: Option<RectProto>,
pub transform: Option<Transform>,
pub input_config: Option<u32>,
}Fields§
§layout_params_flags: Option<u32>§layout_params_type: Option<i32>§touchable_region: Option<RegionProto>§surface_inset: Option<i32>§focusable: Option<bool>unused
has_wallpaper: Option<bool>unused
global_scale_factor: Option<f32>§crop_layer_id: Option<u32>§replace_touchable_region_with_crop: Option<bool>§touchable_region_crop: Option<RectProto>§transform: Option<Transform>§input_config: Option<u32>Implementations§
Source§impl WindowInfo
impl WindowInfo
Sourcepub fn layout_params_flags(&self) -> u32
pub fn layout_params_flags(&self) -> u32
Returns the value of layout_params_flags, or the default value if layout_params_flags is unset.
Sourcepub fn layout_params_type(&self) -> i32
pub fn layout_params_type(&self) -> i32
Returns the value of layout_params_type, or the default value if layout_params_type is unset.
Sourcepub fn surface_inset(&self) -> i32
pub fn surface_inset(&self) -> i32
Returns the value of surface_inset, or the default value if surface_inset is unset.
Sourcepub fn focusable(&self) -> bool
pub fn focusable(&self) -> bool
Returns the value of focusable, or the default value if focusable is unset.
Sourcepub fn has_wallpaper(&self) -> bool
pub fn has_wallpaper(&self) -> bool
Returns the value of has_wallpaper, or the default value if has_wallpaper is unset.
Sourcepub fn global_scale_factor(&self) -> f32
pub fn global_scale_factor(&self) -> f32
Returns the value of global_scale_factor, or the default value if global_scale_factor is unset.
Sourcepub fn crop_layer_id(&self) -> u32
pub fn crop_layer_id(&self) -> u32
Returns the value of crop_layer_id, or the default value if crop_layer_id is unset.
Sourcepub fn replace_touchable_region_with_crop(&self) -> bool
pub fn replace_touchable_region_with_crop(&self) -> bool
Returns the value of replace_touchable_region_with_crop, or the default value if replace_touchable_region_with_crop is unset.
Sourcepub fn input_config(&self) -> u32
pub fn input_config(&self) -> u32
Returns the value of input_config, or the default value if input_config is unset.
Trait Implementations§
Source§impl Clone for WindowInfo
impl Clone for WindowInfo
Source§fn clone(&self) -> WindowInfo
fn clone(&self) -> WindowInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WindowInfo
impl Debug for WindowInfo
Source§impl Default for WindowInfo
impl Default for WindowInfo
Source§fn default() -> WindowInfo
fn default() -> WindowInfo
Source§impl Message for WindowInfo
impl Message for WindowInfo
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 WindowInfo
impl PartialEq for WindowInfo
impl StructuralPartialEq for WindowInfo
Auto Trait Implementations§
impl Freeze for WindowInfo
impl RefUnwindSafe for WindowInfo
impl Send for WindowInfo
impl Sync for WindowInfo
impl Unpin for WindowInfo
impl UnwindSafe for WindowInfo
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].