pub struct InputMethodEditorClientDidUpdateStateRequest {
pub state: TextInputState,
pub event: Option<Box<InputEvent>>,
}Fields§
§state: TextInputState§event: Option<Box<InputEvent>>Trait Implementations§
Source§impl Clone for InputMethodEditorClientDidUpdateStateRequest
impl Clone for InputMethodEditorClientDidUpdateStateRequest
Source§fn clone(&self) -> InputMethodEditorClientDidUpdateStateRequest
fn clone(&self) -> InputMethodEditorClientDidUpdateStateRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<___E> Encode<InputMethodEditorClientDidUpdateStateRequest<'static>, ___E> for InputMethodEditorClientDidUpdateStateRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<___E> Encode<InputMethodEditorClientDidUpdateStateRequest<'static>, ___E> for InputMethodEditorClientDidUpdateStateRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<InputMethodEditorClientDidUpdateStateRequest<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<InputMethodEditorClientDidUpdateStateRequest<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E> Encode<InputMethodEditorClientDidUpdateStateRequest<'static>, ___E> for &'a InputMethodEditorClientDidUpdateStateRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<'a, ___E> Encode<InputMethodEditorClientDidUpdateStateRequest<'static>, ___E> for &'a InputMethodEditorClientDidUpdateStateRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<InputMethodEditorClientDidUpdateStateRequest<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<InputMethodEditorClientDidUpdateStateRequest<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> EncodeOption<Box<'static, InputMethodEditorClientDidUpdateStateRequest<'static>>, ___E> for InputMethodEditorClientDidUpdateStateRequestwhere
___E: Encoder + ?Sized,
InputMethodEditorClientDidUpdateStateRequest: Encode<InputMethodEditorClientDidUpdateStateRequest<'static>, ___E>,
impl<___E> EncodeOption<Box<'static, InputMethodEditorClientDidUpdateStateRequest<'static>>, ___E> for InputMethodEditorClientDidUpdateStateRequestwhere
___E: Encoder + ?Sized,
InputMethodEditorClientDidUpdateStateRequest: Encode<InputMethodEditorClientDidUpdateStateRequest<'static>, ___E>,
Source§fn encode_option(
this: Option<InputMethodEditorClientDidUpdateStateRequest>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, InputMethodEditorClientDidUpdateStateRequest<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<InputMethodEditorClientDidUpdateStateRequest>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, InputMethodEditorClientDidUpdateStateRequest<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'a, ___E> EncodeOption<Box<'static, InputMethodEditorClientDidUpdateStateRequest<'static>>, ___E> for &'a InputMethodEditorClientDidUpdateStateRequestwhere
___E: Encoder + ?Sized,
&'a InputMethodEditorClientDidUpdateStateRequest: Encode<InputMethodEditorClientDidUpdateStateRequest<'static>, ___E>,
impl<'a, ___E> EncodeOption<Box<'static, InputMethodEditorClientDidUpdateStateRequest<'static>>, ___E> for &'a InputMethodEditorClientDidUpdateStateRequestwhere
___E: Encoder + ?Sized,
&'a InputMethodEditorClientDidUpdateStateRequest: Encode<InputMethodEditorClientDidUpdateStateRequest<'static>, ___E>,
Source§fn encode_option(
this: Option<&'a InputMethodEditorClientDidUpdateStateRequest>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, InputMethodEditorClientDidUpdateStateRequest<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<&'a InputMethodEditorClientDidUpdateStateRequest>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, InputMethodEditorClientDidUpdateStateRequest<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWire<InputMethodEditorClientDidUpdateStateRequest<'de>> for InputMethodEditorClientDidUpdateStateRequest
impl<'de> FromWire<InputMethodEditorClientDidUpdateStateRequest<'de>> for InputMethodEditorClientDidUpdateStateRequest
Source§fn from_wire(
wire: InputMethodEditorClientDidUpdateStateRequest<'de>,
) -> InputMethodEditorClientDidUpdateStateRequest
fn from_wire( wire: InputMethodEditorClientDidUpdateStateRequest<'de>, ) -> InputMethodEditorClientDidUpdateStateRequest
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<InputMethodEditorClientDidUpdateStateRequest<'de>> for InputMethodEditorClientDidUpdateStateRequest
impl<'de> FromWireRef<InputMethodEditorClientDidUpdateStateRequest<'de>> for InputMethodEditorClientDidUpdateStateRequest
Source§fn from_wire_ref(
wire: &InputMethodEditorClientDidUpdateStateRequest<'de>,
) -> InputMethodEditorClientDidUpdateStateRequest
fn from_wire_ref( wire: &InputMethodEditorClientDidUpdateStateRequest<'de>, ) -> InputMethodEditorClientDidUpdateStateRequest
Converts the given reference to this type.
Source§impl PartialOrd for InputMethodEditorClientDidUpdateStateRequest
impl PartialOrd for InputMethodEditorClientDidUpdateStateRequest
Source§fn partial_cmp(
&self,
other: &InputMethodEditorClientDidUpdateStateRequest,
) -> Option<Ordering>
fn partial_cmp( &self, other: &InputMethodEditorClientDidUpdateStateRequest, ) -> Option<Ordering>
impl StructuralPartialEq for InputMethodEditorClientDidUpdateStateRequest
Auto Trait Implementations§
impl Freeze for InputMethodEditorClientDidUpdateStateRequest
impl RefUnwindSafe for InputMethodEditorClientDidUpdateStateRequest
impl Send for InputMethodEditorClientDidUpdateStateRequest
impl Sync for InputMethodEditorClientDidUpdateStateRequest
impl Unpin for InputMethodEditorClientDidUpdateStateRequest
impl UnsafeUnpin for InputMethodEditorClientDidUpdateStateRequest
impl UnwindSafe for InputMethodEditorClientDidUpdateStateRequest
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]