Struct onenote_parser::contents::List
source · pub struct List { /* private fields */ }
Expand description
A list definition.
See [[MS-ONE] 2.2.25].
[[MS-ONE]] 2.2.25: https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-one/1a141e7a-4455-4971-bf0b-1621e221984e
Implementations
sourceimpl List
impl List
sourcepub fn list_font(&self) -> Option<&str>
pub fn list_font(&self) -> Option<&str>
The font used for the symbol of the list bullet.
See [MS-ONE] 2.2.1.
sourcepub fn list_restart(&self) -> Option<i32>
pub fn list_restart(&self) -> Option<i32>
Restart the list numbering with this index.
See [MS-ONE] 2.3.43.
sourcepub fn list_format(&self) -> &[char]
pub fn list_format(&self) -> &[char]
The list format specifier.
The value of the list format specifier is described in [MS-ONE] 2.3.20.
sourcepub fn font_size(&self) -> Option<u16>
pub fn font_size(&self) -> Option<u16>
The font size in half-point increments used for the list index number or bullet.
See [MS-ONE] 2.3.16.
sourcepub fn font_color(&self) -> Option<ColorRef>
pub fn font_color(&self) -> Option<ColorRef>
The font color used for the list index number or bullet.
See [MS-ONE] 2.2.45.
Trait Implementations
sourceimpl Ord for List
impl Ord for List
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<List> for List
impl PartialOrd<List> for List
sourcefn partial_cmp(&self, other: &List) -> Option<Ordering>
fn partial_cmp(&self, other: &List) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for List
impl StructuralEq for List
impl StructuralPartialEq for List
Auto Trait Implementations
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more