pub struct Pieces {
pub numbers: String,
pub bar: String,
pub percent: Option<String>,
pub note: Option<&'static str>,
}Expand description
One read-out, in the pieces a surface needs to colour it.
Fields§
§numbers: String12.3K/328K, --/328K, or 12.3K tokens.
bar: StringThe bar, tripwire included. Empty when there is no denominator.
percent: Option<String>4% — absent before the first turn, and when there is nothing to be a share of.
note: Option<&'static str>Why there is no bar: no budget.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Pieces
Auto Trait Implementations§
impl Forget for Pieces
impl Freeze for Pieces
impl Move for Pieces
impl RefUnwindSafe for Pieces
impl Send for Pieces
impl Sync for Pieceswhere
RawVecInner: Sync,
impl Unpin for Pieces
impl UnsafeUnpin for Pieces
impl UnwindSafe for Pieces
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