pub struct ImeSetComposition {
pub method: ImeSetCompositionMethod,
pub params: ImeSetCompositionParams,
}Expand description
This method sets the current candidate text for IME. Use imeCommitComposition to commit the final text. Use imeSetComposition with empty string as text to cancel composition. imeSetComposition
Fields§
§method: ImeSetCompositionMethod§params: ImeSetCompositionParamsImplementations§
Source§impl ImeSetComposition
impl ImeSetComposition
pub fn builder() -> ImeSetCompositionBuilder
Source§impl ImeSetComposition
impl ImeSetComposition
pub const IDENTIFIER: &'static str = "Input.imeSetComposition"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ImeSetComposition
impl Clone for ImeSetComposition
Source§fn clone(&self) -> ImeSetComposition
fn clone(&self) -> ImeSetComposition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandResult for ImeSetComposition
impl CommandResult for ImeSetComposition
type Result = ImeSetCompositionResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for ImeSetComposition
impl Debug for ImeSetComposition
Source§impl<'de> Deserialize<'de> for ImeSetComposition
impl<'de> Deserialize<'de> for ImeSetComposition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ImeSetComposition> for BrowserProtocolCommands
impl From<ImeSetComposition> for BrowserProtocolCommands
Source§fn from(v: ImeSetComposition) -> Self
fn from(v: ImeSetComposition) -> Self
Converts to this type from the input type.
Source§impl From<ImeSetComposition> for Command
impl From<ImeSetComposition> for Command
Source§fn from(v: ImeSetComposition) -> Self
fn from(v: ImeSetComposition) -> Self
Converts to this type from the input type.
Source§impl From<ImeSetComposition> for InputCommands
impl From<ImeSetComposition> for InputCommands
Source§fn from(v: ImeSetComposition) -> Self
fn from(v: ImeSetComposition) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ImeSetComposition
impl PartialEq for ImeSetComposition
Source§impl Serialize for ImeSetComposition
impl Serialize for ImeSetComposition
Source§impl TryFrom<BrowserProtocolCommands> for ImeSetComposition
impl TryFrom<BrowserProtocolCommands> for ImeSetComposition
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <ImeSetComposition as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ImeSetComposition as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for ImeSetComposition
impl TryFrom<Command> for ImeSetComposition
Source§impl TryFrom<InputCommands> for ImeSetComposition
impl TryFrom<InputCommands> for ImeSetComposition
Source§type Error = InputCommands
type Error = InputCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: InputCommands,
) -> Result<Self, <ImeSetComposition as TryFrom<InputCommands>>::Error>
fn try_from( e: InputCommands, ) -> Result<Self, <ImeSetComposition as TryFrom<InputCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for ImeSetComposition
Auto Trait Implementations§
impl Freeze for ImeSetComposition
impl RefUnwindSafe for ImeSetComposition
impl Send for ImeSetComposition
impl Sync for ImeSetComposition
impl Unpin for ImeSetComposition
impl UnsafeUnpin for ImeSetComposition
impl UnwindSafe for ImeSetComposition
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