Struct rocket::response::content::Css [−][src]
pub struct Css<R>(pub R);
Expand description
Override the Content-Type
of the response to
CSS
, or
text/css
.
Delegates the remainder of the response to the wrapped responder.
Tuple Fields
0: R
Trait Implementations
Sets the Content-Type of the response then delegates the remainder of the response to the wrapped responder.
Auto Trait Implementations
impl<R> RefUnwindSafe for Css<R> where
R: RefUnwindSafe,
impl<R> UnwindSafe for Css<R> where
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more