pub fn new(spec: ColorSpec, pipe: mpsc::Sender<Msg>) -> ColorPane {
        let def = spec.default();
        let cpg = ColorPaneGuts::new(spec.gradients(), def, pipe);
        cpg.borrow_mut().redraw();
        ColorPane { guts: cpg }
    }
/** Instantiate a new `ColorPane` with the provided specification. */
Instantiate a new `ColorPane` with the provided specification.
Instantiate a new ` ColorPane ` with the provided specification .
pub fn new(spec: ColorSpec, pipe: mpsc::Sender<Msg>) -> ColorPane {
        let def = spec.default();
        let cpg = ColorPaneGuts::new(spec.gradients(), def, pipe);
        cpg.borrow_mut().redraw();
        ColorPane { guts: cpg }
    }
pub fn new ( spec : ColorSpec , pipe : mpsc :: Sender < Msg > ) -> ColorPane { let def = spec . default ( ) ; let cpg = ColorPaneGuts :: new ( spec . gradients ( ) , def , pipe ) ; cpg . borrow_mut ( ) . redraw ( ) ; ColorPane { guts : cpg } }
Instantiate a new `ColorPane` with the provided specification.
Instantiate a new ` ColorPane ` with the provided specification .
spec
ColorSpec
pipe
mpsc::Sender<Msg>
spec
ColorSpec
pipe
mpsc::Sender<Msg>