[−][src]Function hyper::header::q
pub fn q<T: IntoQuality>(val: T) -> Quality
Convenience function to create a Quality
from a float or integer.
Implemented for u16
and f32
. Panics if value is out of range.
pub fn q<T: IntoQuality>(val: T) -> Quality
Convenience function to create a Quality
from a float or integer.
Implemented for u16
and f32
. Panics if value is out of range.