Struct rustdoc::stability_summary::CountsUnstable [-] [+] [src]

pub struct Counts {
    pub deprecated: u64,
    pub unstable: u64,
    pub stable: u64,
    pub unmarked: u64,
}

The counts for each stability level.

Fields

deprecated
unstable
stable
unmarked

No stability level, inherited or otherwise.

Methods

impl Counts

fn total(&self) -> u64

Trait Implementations

impl Add for Counts

type Output = Counts

fn add(self, other: Counts) -> Counts

Derived Implementations

impl Eq for Counts

impl PartialEq for Counts

fn eq(&self, __arg_0: &Counts) -> bool

fn ne(&self, __arg_0: &Counts) -> bool

impl Decodable for Counts

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Counts, __D>

impl Encodable for Counts

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S>

impl Clone for Counts

fn clone(&self) -> Counts

fn clone_from(&mut self, source: &Self)

impl Copy for Counts