pub struct WasmTerminalSize {
pub cols: u16,
pub rows: u16,
}Fields§
§cols: u16§rows: u16Trait Implementations§
Source§impl Clone for WasmTerminalSize
impl Clone for WasmTerminalSize
Source§fn clone(&self) -> WasmTerminalSize
fn clone(&self) -> WasmTerminalSize
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 Debug for WasmTerminalSize
impl Debug for WasmTerminalSize
Source§impl From<WasmTerminalSize> for JsValue
impl From<WasmTerminalSize> for JsValue
Source§fn from(value: WasmTerminalSize) -> Self
fn from(value: WasmTerminalSize) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for WasmTerminalSize
impl FromWasmAbi for WasmTerminalSize
Source§impl IntoWasmAbi for WasmTerminalSize
impl IntoWasmAbi for WasmTerminalSize
Source§impl OptionFromWasmAbi for WasmTerminalSize
impl OptionFromWasmAbi for WasmTerminalSize
Source§impl OptionIntoWasmAbi for WasmTerminalSize
impl OptionIntoWasmAbi for WasmTerminalSize
Source§impl RefFromWasmAbi for WasmTerminalSize
impl RefFromWasmAbi for WasmTerminalSize
Source§type Anchor = RcRef<WasmTerminalSize>
type Anchor = RcRef<WasmTerminalSize>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for WasmTerminalSize
impl RefMutFromWasmAbi for WasmTerminalSize
Source§impl TryFromJsValue for WasmTerminalSize
impl TryFromJsValue for WasmTerminalSize
Source§impl VectorFromWasmAbi for WasmTerminalSize
impl VectorFromWasmAbi for WasmTerminalSize
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmTerminalSize]>
Source§impl VectorIntoWasmAbi for WasmTerminalSize
impl VectorIntoWasmAbi for WasmTerminalSize
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmTerminalSize]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmTerminalSize
impl WasmDescribeVector for WasmTerminalSize
impl Copy for WasmTerminalSize
impl SupportsConstructor for WasmTerminalSize
impl SupportsInstanceProperty for WasmTerminalSize
impl SupportsStaticProperty for WasmTerminalSize
Auto Trait Implementations§
impl Freeze for WasmTerminalSize
impl RefUnwindSafe for WasmTerminalSize
impl Send for WasmTerminalSize
impl Sync for WasmTerminalSize
impl Unpin for WasmTerminalSize
impl UnsafeUnpin for WasmTerminalSize
impl UnwindSafe for WasmTerminalSize
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::AbiSource§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.