Struct deno_runtime::ops::tty::ConsoleSize
source · pub struct ConsoleSize {
pub cols: u32,
pub rows: u32,
}
Fields§
§cols: u32
§rows: u32
Trait Implementations§
source§impl Clone for ConsoleSize
impl Clone for ConsoleSize
source§fn clone(&self) -> ConsoleSize
fn clone(&self) -> ConsoleSize
Returns a copy 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 ConsoleSize
impl Debug for ConsoleSize
source§impl PartialEq<ConsoleSize> for ConsoleSize
impl PartialEq<ConsoleSize> for ConsoleSize
source§fn eq(&self, other: &ConsoleSize) -> bool
fn eq(&self, other: &ConsoleSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConsoleSize
impl Eq for ConsoleSize
impl StructuralEq for ConsoleSize
impl StructuralPartialEq for ConsoleSize
Auto Trait Implementations§
impl RefUnwindSafe for ConsoleSize
impl Send for ConsoleSize
impl Sync for ConsoleSize
impl Unpin for ConsoleSize
impl UnwindSafe for ConsoleSize
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.