Function rocket_http::hyper::header::qitem [−][src]
pub fn qitem<T>(item: T) -> QualityItem<T>
Expand description
Convinience function to wrap a value in a QualityItem
Sets q
to the default 1.0
pub fn qitem<T>(item: T) -> QualityItem<T>
Convinience function to wrap a value in a QualityItem
Sets q
to the default 1.0