[][src]Trait iron::Set

pub trait Set {
    fn set<M>(self, modifier: M) -> Self
    where
        M: Modifier<Self>
, { ... }
fn set_mut<M>(&mut self, modifier: M) -> &mut Self
    where
        M: Modifier<Self>
, { ... } }

A trait providing the set and set_mut methods for all types.

Simply implement this for your types and they can be used with modifiers.

Provided methods

fn set<M>(self, modifier: M) -> Self where
    M: Modifier<Self>, 

Modify self using the provided modifier.

fn set_mut<M>(&mut self, modifier: M) -> &mut Self where
    M: Modifier<Self>, 

Modify self through a mutable reference with the provided modifier.

Loading content...

Implementors

impl Set for Response[src]

impl<'a, 'b> Set for Request<'a, 'b>[src]

Loading content...