pub struct DocLen(pub u32);Expand description
Document length in tokens after analysis.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for DocLen
impl Eq for DocLen
Source§impl Ord for DocLen
impl Ord for DocLen
1.21.0 (const: unstable) · Source§fn 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 (const: unstable) · Source§fn 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
Source§impl PartialOrd for DocLen
impl PartialOrd for DocLen
impl StructuralPartialEq for DocLen
Auto Trait Implementations§
impl Freeze for DocLen
impl RefUnwindSafe for DocLen
impl Send for DocLen
impl Sync for DocLen
impl Unpin for DocLen
impl UnsafeUnpin for DocLen
impl UnwindSafe for DocLen
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