pub struct ListInterval {
pub list_indexes: Vec<usize>,
pub list_item_infos: Vec<ListItemInfo>,
pub numbering_style: Option<String>,
pub number_of_columns: Option<usize>,
}Expand description
Information about a sequence of list items during detection.
Fields§
§list_indexes: Vec<usize>Indices of paragraphs that form list items
list_item_infos: Vec<ListItemInfo>Extracted info for each list item
numbering_style: Option<String>Detected numbering style
number_of_columns: Option<usize>Number of columns in multi-column lists
Trait Implementations§
Source§impl Clone for ListInterval
impl Clone for ListInterval
Source§fn clone(&self) -> ListInterval
fn clone(&self) -> ListInterval
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ListInterval
impl RefUnwindSafe for ListInterval
impl Send for ListInterval
impl Sync for ListInterval
impl Unpin for ListInterval
impl UnsafeUnpin for ListInterval
impl UnwindSafe for ListInterval
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
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>
Converts
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>
Converts
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