pub struct TipLimits {
pub text_lines: usize,
pub line_chars: usize,
pub title_chars: usize,
pub how_lines: usize,
}Expand description
How much text a tip’s box holds, in cells.
Fields§
§text_lines: usizeMost text lines a tip may have.
line_chars: usizeLongest text line, before placeholders are filled in.
title_chars: usizeLongest tip title.
how_lines: usizeMost lines of a tip’s how; 0 if the game’s tips have none.
Trait Implementations§
impl Copy for TipLimits
impl Eq for TipLimits
impl StructuralPartialEq for TipLimits
Auto Trait Implementations§
impl Freeze for TipLimits
impl RefUnwindSafe for TipLimits
impl Send for TipLimits
impl Sync for TipLimits
impl Unpin for TipLimits
impl UnsafeUnpin for TipLimits
impl UnwindSafe for TipLimits
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