pub struct Percent(pub usize);
Expand description
Percent from a total table width.
Tuple Fields§
§0: usize
Trait Implementations§
Source§impl Measurement<Height> for Percent
impl Measurement<Height> for Percent
Source§fn measure<R>(&self, records: R, cfg: &SpannedConfig) -> usize
fn measure<R>(&self, records: R, cfg: &SpannedConfig) -> usize
Returns a measurement value.
Auto Trait Implementations§
impl Freeze for Percent
impl RefUnwindSafe for Percent
impl Send for Percent
impl Sync for Percent
impl Unpin for Percent
impl UnwindSafe for Percent
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