#[non_exhaustive]pub struct HoverViewport {
pub width: u16,
pub height: u16,
}Expand description
Available terminal area for popup placement.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.width: u16§height: u16Implementations§
Trait Implementations§
Source§impl Clone for HoverViewport
impl Clone for HoverViewport
Source§fn clone(&self) -> HoverViewport
fn clone(&self) -> HoverViewport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HoverViewport
Source§impl Debug for HoverViewport
impl Debug for HoverViewport
impl Eq for HoverViewport
Source§impl PartialEq for HoverViewport
impl PartialEq for HoverViewport
impl StructuralPartialEq for HoverViewport
Auto Trait Implementations§
impl Freeze for HoverViewport
impl RefUnwindSafe for HoverViewport
impl Send for HoverViewport
impl Sync for HoverViewport
impl Unpin for HoverViewport
impl UnsafeUnpin for HoverViewport
impl UnwindSafe for HoverViewport
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