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§impl Message for WindowInfo
impl Message for WindowInfo
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self.