pub struct InputWindowInfoProto {Show 17 fields
pub layout_params_flags: Option<u32>,
pub layout_params_type: Option<i32>,
pub frame: Option<RectProto>,
pub touchable_region: Option<RegionProto>,
pub surface_inset: Option<i32>,
pub visible: Option<bool>,
pub can_receive_keys: Option<bool>,
pub focusable: Option<bool>,
pub has_wallpaper: Option<bool>,
pub global_scale_factor: Option<f32>,
pub window_x_scale: Option<f32>,
pub window_y_scale: Option<f32>,
pub crop_layer_id: Option<i32>,
pub replace_touchable_region_with_crop: Option<bool>,
pub touchable_region_crop: Option<RectProto>,
pub transform: Option<TransformProto>,
pub input_config: Option<u32>,
}
Fields§
§layout_params_flags: Option<u32>
§layout_params_type: Option<i32>
§frame: Option<RectProto>
§touchable_region: Option<RegionProto>
§surface_inset: Option<i32>
§visible: Option<bool>
§can_receive_keys: Option<bool>
focusable: Option<bool>
§has_wallpaper: Option<bool>
§global_scale_factor: Option<f32>
§window_x_scale: Option<f32>
window_y_scale: Option<f32>
crop_layer_id: Option<i32>
§replace_touchable_region_with_crop: Option<bool>
§touchable_region_crop: Option<RectProto>
§transform: Option<TransformProto>
§input_config: Option<u32>
Implementations§
Source§impl InputWindowInfoProto
impl InputWindowInfoProto
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 visible(&self) -> bool
pub fn visible(&self) -> bool
Returns the value of visible
, or the default value if visible
is unset.
Sourcepub fn can_receive_keys(&self) -> bool
pub fn can_receive_keys(&self) -> bool
Returns the value of can_receive_keys
, or the default value if can_receive_keys
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 window_x_scale(&self) -> f32
pub fn window_x_scale(&self) -> f32
Returns the value of window_x_scale
, or the default value if window_x_scale
is unset.
Sourcepub fn window_y_scale(&self) -> f32
pub fn window_y_scale(&self) -> f32
Returns the value of window_y_scale
, or the default value if window_y_scale
is unset.
Sourcepub fn crop_layer_id(&self) -> i32
pub fn crop_layer_id(&self) -> i32
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 InputWindowInfoProto
impl Clone for InputWindowInfoProto
Source§fn clone(&self) -> InputWindowInfoProto
fn clone(&self) -> InputWindowInfoProto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for InputWindowInfoProto
impl Debug for InputWindowInfoProto
Source§impl Default for InputWindowInfoProto
impl Default for InputWindowInfoProto
Source§impl Message for InputWindowInfoProto
impl Message for InputWindowInfoProto
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.