Struct letterboxd::RatingsHistogramBar
[−]
[src]
pub struct RatingsHistogramBar { pub rating: f32, pub normalized_weight: f32, pub count: usize, }
Fields
rating: f32
The rating increment between 0.5 and 5.0.
normalized_weight: f32
The height of this rating increment’s entry in a unit-height histogram, normalized between 0.0 and 1.0. The increment(s) with the highest number of ratings will always return 1.0 (unless there are no ratings for the film).
count: usize
The number of ratings made at this increment.
Trait Implementations
impl Clone for RatingsHistogramBar
[src]
fn clone(&self) -> RatingsHistogramBar
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more