[−]Struct xterm_js_sys::xterm::ViewportRangePosition
An object representing a cell position within the viewport of the terminal.
(This is really an interface but because it's only ever produced by the user we just go and define our own type that satisfies the interface).
Fields
x: u16
The x position of the cell.
This is a 0-based index that refers to the space in between columns, not
the column itself. Index 0 refers to the left side of the viewport,
index Terminal::cols
refers to the right side of the viewport. This
can be thought of as how a cursor is positioned in a text editor.
y: u16
The y position of the cell.
This is a 0-based index that refers to a specific row.
Implementations
impl ViewportRangePosition
[src][−]
Trait Implementations
impl Clone for ViewportRangePosition
[+]
impl Copy for ViewportRangePosition
impl Debug for ViewportRangePosition
[+]
impl Eq for ViewportRangePosition
impl From<ViewportRangePosition> for JsValue
[src][+]
impl FromWasmAbi for ViewportRangePosition
[src][+]
impl IntoWasmAbi for ViewportRangePosition
[src][+]
impl OptionFromWasmAbi for ViewportRangePosition
[src][+]
impl OptionIntoWasmAbi for ViewportRangePosition
[src][+]
impl PartialEq<ViewportRangePosition> for ViewportRangePosition
[+]
impl RefFromWasmAbi for ViewportRangePosition
[src][+]
impl RefMutFromWasmAbi for ViewportRangePosition
[src][+]
impl StructuralEq for ViewportRangePosition
impl StructuralPartialEq for ViewportRangePosition
impl WasmDescribe for ViewportRangePosition
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for ViewportRangePosition
impl Send for ViewportRangePosition
impl Sync for ViewportRangePosition
impl Unpin for ViewportRangePosition
impl UnwindSafe for ViewportRangePosition
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src][+]
T: IntoWasmAbi,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,