Trait HasHits

Source
pub trait HasHits {
    // Required methods
    fn hits(&self) -> u32;
    fn hits_max(&self) -> u32;
}

Required Methods§

Source

fn hits(&self) -> u32

Retrieve the current hits of this object.

Source

fn hits_max(&self) -> u32

Retrieve the maximum hits of this object.

Implementors§