Struct wikipedia_prosesize::ProseSize
source · pub struct ProseSize { /* private fields */ }
Implementations§
source§impl ProseSize
impl ProseSize
sourcepub fn prose_size(&self) -> u64
pub fn prose_size(&self) -> u64
Size of text in “readable prose”. See https://en.wikipedia.org/wiki/Wikipedia:Prosesize#Prose_size.
sourcepub fn word_count(&self) -> u64
pub fn word_count(&self) -> u64
Number of words in the “readable prose”. See https://en.wikipedia.org/wiki/Wikipedia:Prosesize#Prose_size.
sourcepub fn references(&self) -> u64
pub fn references(&self) -> u64
Size of references (text only). See https://en.wikipedia.org/wiki/Wikipedia:Prosesize#References_size
Trait Implementations§
source§impl<'de> Deserialize<'de> for ProseSize
impl<'de> Deserialize<'de> for ProseSize
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProseSize
impl RefUnwindSafe for ProseSize
impl Send for ProseSize
impl Sync for ProseSize
impl Unpin for ProseSize
impl UnwindSafe for ProseSize
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