[−][src]Struct broot::screens::Screen
Fields
width: u16
height: u16
skin: Skin
input_field: InputField
status_skin: StatusMadSkinSet
help_skin: MadSkin
Implementations
impl Screen
[src]
pub fn new(con: &AppContext, skin: Skin) -> Result<Screen, ProgramError>
[src]
pub fn set_terminal_size(&mut self, w: u16, h: u16, con: &AppContext)
[src]
pub fn read_size(&mut self, con: &AppContext) -> Result<(), ProgramError>
[src]
pub fn goto_clear(
&self,
w: &mut impl Write,
x: u16,
y: u16
) -> Result<(), ProgramError>
[src]
&self,
w: &mut impl Write,
x: u16,
y: u16
) -> Result<(), ProgramError>
move the cursor to x,y and clears the line.
pub fn goto(
&self,
w: &mut impl Write,
x: u16,
y: u16
) -> Result<(), ProgramError>
[src]
&self,
w: &mut impl Write,
x: u16,
y: u16
) -> Result<(), ProgramError>
move the cursor to x,y
pub fn clear(&self, w: &mut impl Write) -> Result<(), ProgramError>
[src]
clear the whole screen
pub fn clear_line(&self, w: &mut impl Write) -> Result<(), ProgramError>
[src]
clear from the cursor to the end of line
Auto Trait Implementations
impl RefUnwindSafe for Screen
impl Send for Screen
impl Sync for Screen
impl Unpin for Screen
impl UnwindSafe for Screen
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,