pub struct View<C: Tui> { /* private fields */ }
Expand description
Represents a view.
Implementations
sourceimpl<C: Tui> View<C>
impl<C: Tui> View<C>
sourcepub fn new(
display: Display<C>,
character_vertical_spacing: &str,
help_indicator_key: &str
) -> Self
pub fn new(
display: Display<C>,
character_vertical_spacing: &str,
help_indicator_key: &str
) -> Self
Create a new instance of the view.
sourcepub fn get_view_size(&self) -> Size
👎 Deprecated: This leaks internals of the Display and will eventually be removed
pub fn get_view_size(&self) -> Size
This leaks internals of the Display and will eventually be removed
Get the size of the view.
Trait Implementations
Auto Trait Implementations
impl<C> RefUnwindSafe for View<C> where
C: RefUnwindSafe,
impl<C> Send for View<C> where
C: Send,
impl<C> Sync for View<C> where
C: Sync,
impl<C> Unpin for View<C> where
C: Unpin,
impl<C> UnwindSafe for View<C> where
C: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more