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

pub struct Counts {
    pub deprecated: usize,
    pub experimental: usize,
    pub unstable: usize,
    pub stable: usize,
    pub frozen: usize,
    pub locked: usize,
    pub unmarked: usize,
}

The counts for each stability level.

Fields

deprecated
experimental
unstable
stable
frozen
locked
unmarked

No stability level, inherited or otherwise.

Methods

impl Counts

fn total(&self) -> usize

Trait Implementations

impl Add for Counts

type Output = Counts

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

Derived Implementations

impl Eq for Counts

fn assert_receiver_is_total_eq(&self)

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, Error>

impl Encodable for Counts

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

impl Copy for Counts