[−][src]Struct rustdoc::passes::calculate_doc_coverage::ItemCount
Fields
total: u64with_docs: u64total_examples: u64with_examples: u64Implementations
impl ItemCount[src]
pub(in passes::calculate_doc_coverage) fn count_item(
&mut self,
has_docs: bool,
has_doc_example: bool,
should_have_doc_examples: bool,
should_have_docs: bool
)[src]
&mut self,
has_docs: bool,
has_doc_example: bool,
should_have_doc_examples: bool,
should_have_docs: bool
)
pub(in passes::calculate_doc_coverage) fn percentage(
&self
) -> Option<f64>[src]
&self
) -> Option<f64>
pub(in passes::calculate_doc_coverage) fn examples_percentage(
&self
) -> Option<f64>[src]
&self
) -> Option<f64>
Trait Implementations
impl AddAssign<ItemCount> for ItemCount[src]
pub fn add_assign(&mut self, rhs: Self)[src]
impl Clone for ItemCount[src]
impl Copy for ItemCount[src]
impl Debug for ItemCount[src]
impl Default for ItemCount[src]
impl Serialize for ItemCount[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl Sub<ItemCount> for ItemCount[src]
Auto Trait Implementations
impl RefUnwindSafe for ItemCount
impl Send for ItemCount
impl Sync for ItemCount
impl Unpin for ItemCount
impl UnwindSafe for ItemCount
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,