pub struct Stats {
pub chars: usize,
pub blocks: usize,
pub depth: usize,
pub media: usize,
pub max_table_columns: usize,
}Expand description
Measured size of a document, comparable against Limits.
Fields§
§chars: usizeNumber of text characters.
blocks: usizeNumber of blocks.
depth: usizeMaximum nesting depth.
media: usizeNumber of media attachments.
max_table_columns: usizeMaximum number of columns in any table.
Implementations§
Trait Implementations§
impl Copy for Stats
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Forget for Stats
impl Freeze for Stats
impl Move for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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