pub struct CellQuery { /* private fields */ }
Expand description
Query for selecting cells in the terminal
Implementations§
Source§impl CellQuery
impl CellQuery
Sourcepub fn new(mode: SelectionMode) -> CellQuery
pub fn new(mode: SelectionMode) -> CellQuery
Create a new cell query with the specified selection mode
Sourcepub fn start(self, col: u16, row: u16) -> CellQuery
pub fn start(self, col: u16, row: u16) -> CellQuery
Set the starting position for the selection
Sourcepub fn trim_trailing_whitespace(self, enabled: bool) -> CellQuery
pub fn trim_trailing_whitespace(self, enabled: bool) -> CellQuery
Configure whether to trim trailing whitespace from lines
Trait Implementations§
Source§impl FromWasmAbi for CellQuery
impl FromWasmAbi for CellQuery
Source§impl IntoWasmAbi for CellQuery
impl IntoWasmAbi for CellQuery
Source§impl LongRefFromWasmAbi for CellQuery
impl LongRefFromWasmAbi for CellQuery
Source§impl OptionFromWasmAbi for CellQuery
impl OptionFromWasmAbi for CellQuery
Source§impl OptionIntoWasmAbi for CellQuery
impl OptionIntoWasmAbi for CellQuery
Source§impl RefFromWasmAbi for CellQuery
impl RefFromWasmAbi for CellQuery
Source§impl RefMutFromWasmAbi for CellQuery
impl RefMutFromWasmAbi for CellQuery
Source§impl TryFromJsValue for CellQuery
impl TryFromJsValue for CellQuery
Source§impl VectorFromWasmAbi for CellQuery
impl VectorFromWasmAbi for CellQuery
Source§impl VectorIntoWasmAbi for CellQuery
impl VectorIntoWasmAbi for CellQuery
impl SupportsConstructor for CellQuery
impl SupportsInstanceProperty for CellQuery
impl SupportsStaticProperty for CellQuery
Auto Trait Implementations§
impl Freeze for CellQuery
impl RefUnwindSafe for CellQuery
impl Send for CellQuery
impl Sync for CellQuery
impl Unpin for CellQuery
impl UnwindSafe for CellQuery
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,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.