pub struct TermSize {
pub width: u32,
pub height: u32,
}
Fields§
§width: u32
§height: u32
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TermSize
impl Send for TermSize
impl Sync for TermSize
impl Unpin for TermSize
impl UnwindSafe for TermSize
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> Colorable for T
impl<T> Colorable for T
source§fn bg<TFormatColor>(
self,
formatter: TFormatColor
) -> WithBackground<Self, TFormatColor>where
TFormatColor: FormatColor,
fn bg<TFormatColor>( self, formatter: TFormatColor ) -> WithBackground<Self, TFormatColor>where TFormatColor: FormatColor,
Add a background color
source§fn fg<TFormatColor>(
self,
formatter: TFormatColor
) -> WithForeground<Self, TFormatColor>where
TFormatColor: FormatColor,
fn fg<TFormatColor>( self, formatter: TFormatColor ) -> WithForeground<Self, TFormatColor>where TFormatColor: FormatColor,
Add a foreground color