Skip to main content

update

Function update 

pub fn update(
    name: &str,
    widget: &mut Box<dyn Widget>,
    source: &mut dyn Source,
) -> Result<bool, Error>
Expand description

Bring widget, built for an instance of name, to source’s props in place: Ok(false) when it is to be built again.

§Errors

name is not described, or source’s props do not fit it.