charset.rs |
|
6725 |
encoding.rs |
|
1560 |
extended_value.rs |
|
7302 |
quality_value.rs |
/// Convenience function to set a `Quality` from a float or integer.
///
/// Implemented for `u16` and `f32`.
///
/// # Panic
///
/// Panics if value is out of range.
pub fn with_q<Q: IntoQuality>(mut self, q: Q) -> QualityValue<T> {
self.quality = q.into_quality();
self
}
|
8135 |