Trait windows::UI::Text::ITextSelection_Impl
pub trait ITextSelection_Impl: Sized + ITextRange_Impl {
// Required methods
fn Options(&self) -> Result<SelectionOptions>;
fn SetOptions(&self, value: SelectionOptions) -> Result<()>;
fn Type(&self) -> Result<SelectionType>;
fn EndKey(&self, unit: TextRangeUnit, extend: bool) -> Result<i32>;
fn HomeKey(&self, unit: TextRangeUnit, extend: bool) -> Result<i32>;
fn MoveDown(
&self,
unit: TextRangeUnit,
count: i32,
extend: bool,
) -> Result<i32>;
fn MoveLeft(
&self,
unit: TextRangeUnit,
count: i32,
extend: bool,
) -> Result<i32>;
fn MoveRight(
&self,
unit: TextRangeUnit,
count: i32,
extend: bool,
) -> Result<i32>;
fn MoveUp(
&self,
unit: TextRangeUnit,
count: i32,
extend: bool,
) -> Result<i32>;
fn TypeText(&self, value: &HSTRING) -> Result<()>;
}
Required Methods§
fn Options(&self) -> Result<SelectionOptions>
fn SetOptions(&self, value: SelectionOptions) -> Result<()>
fn Type(&self) -> Result<SelectionType>
fn EndKey(&self, unit: TextRangeUnit, extend: bool) -> Result<i32>
fn HomeKey(&self, unit: TextRangeUnit, extend: bool) -> Result<i32>
fn MoveDown(&self, unit: TextRangeUnit, count: i32, extend: bool) -> Result<i32>
fn MoveLeft(&self, unit: TextRangeUnit, count: i32, extend: bool) -> Result<i32>
fn MoveRight( &self, unit: TextRangeUnit, count: i32, extend: bool, ) -> Result<i32>
fn MoveUp(&self, unit: TextRangeUnit, count: i32, extend: bool) -> Result<i32>
fn TypeText(&self, value: &HSTRING) -> Result<()>
Object Safety§
This trait is not object safe.