Struct sshx_server::web::protocol::WsWinsize
source · pub struct WsWinsize {
pub x: i32,
pub y: i32,
pub rows: u16,
pub cols: u16,
}
Expand description
Real-time message conveying the position and size of a terminal.
Fields§
§x: i32
The top-left x-coordinate of the window, offset from origin.
y: i32
The top-left y-coordinate of the window, offset from origin.
rows: u16
The number of rows in the window.
cols: u16
The number of columns in the terminal.
Trait Implementations§
source§impl<'de> Deserialize<'de> for WsWinsize
impl<'de> Deserialize<'de> for WsWinsize
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
impl Copy for WsWinsize
impl Eq for WsWinsize
impl StructuralPartialEq for WsWinsize
Auto Trait Implementations§
impl Freeze for WsWinsize
impl RefUnwindSafe for WsWinsize
impl Send for WsWinsize
impl Sync for WsWinsize
impl Unpin for WsWinsize
impl UnwindSafe for WsWinsize
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request