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§fn default() -> InputWindowInfoProto
fn default() -> InputWindowInfoProto
Source§impl Message for InputWindowInfoProto
impl Message for InputWindowInfoProto
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 InputWindowInfoProto
impl PartialEq for InputWindowInfoProto
impl StructuralPartialEq for InputWindowInfoProto
Auto Trait Implementations§
impl Freeze for InputWindowInfoProto
impl RefUnwindSafe for InputWindowInfoProto
impl Send for InputWindowInfoProto
impl Sync for InputWindowInfoProto
impl Unpin for InputWindowInfoProto
impl UnwindSafe for InputWindowInfoProto
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].