pub struct ManyNumbers {
pub groups: Vec<Vec<NumberSegment>>,
pub unnumbered: Vec<PointId>,
}Expand description
The numbers of several reference points, written in one group per
counter style (Counters::format_many), and the points that have no
number.
A group is what the number writer of one counter
style wrote for the points shown in that counter style, such as
Eqs.~(1 and 2), and the groups are in the order in which their counter
styles first occur among the points. The table does not join the groups:
the caller writes them as the items of its own list, with texts of its own
between them. The points without a number keep the caller’s order; only
the caller knows what an unnumbered point shows (its content, or the label
it was given), so the table returns the points instead of writing them.
Fields§
§groups: Vec<Vec<NumberSegment>>Per counter style, in the order of first occurrence, the segments of its numbers, each linking to its own point or to nothing.
unnumbered: Vec<PointId>The points the table holds no number for, in the caller’s order.
Trait Implementations§
Source§impl Clone for ManyNumbers
impl Clone for ManyNumbers
Source§impl Debug for ManyNumbers
impl Debug for ManyNumbers
Auto Trait Implementations§
impl !RefUnwindSafe for ManyNumbers
impl !UnwindSafe for ManyNumbers
impl Forget for ManyNumbers
impl Freeze for ManyNumberswhere
*const u8 is !null: Freeze,
PhantomData<Vec<NumberSegment>>: Freeze,
PhantomData<PointId>: Freeze,
impl Move for ManyNumbers
impl Send for ManyNumbers
impl Sync for ManyNumbers
impl Unpin for ManyNumbers
impl UnsafeUnpin for ManyNumberswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Vec<NumberSegment>>: UnsafeUnpin,
PhantomData<PointId>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more