pub struct Span {
pub n: usize,
pub length: f64,
}Expand description
A stretch of a run’s children: how many, and the sum of their sizes — how far they advance less the gaps, which are the run’s.
Fields§
§n: usizeHow many children.
length: f64The sum of their sizes along the run, gaps left out.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Span
impl Freeze for Span
impl Move for Span
impl RefUnwindSafe for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnsafeUnpin for Span
impl UnwindSafe for Span
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