Struct rocket::response::content::CSS
[−]
[src]
pub struct CSS<R>(pub R);
Override the Content-Type
of the response to
CSS
, or
text/css
.
Delagates the remainder of the response to the wrapped responder.
Trait Implementations
impl<R: Debug> Debug for CSS<R>
[src]
impl<R: Clone> Clone for CSS<R>
[src]
fn clone(&self) -> CSS<R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<R: PartialEq> PartialEq for CSS<R>
[src]
fn eq(&self, __arg_0: &CSS<R>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CSS<R>) -> bool
This method tests for !=
.
impl<'r, R: Responder<'r>> Responder<'r> for CSS<R>
[src]
Sets the Content-Type of the response then delegates the remainder of the response to the wrapped responder.