Skip to main content

keep

Function keep 

pub fn keep<T>(id: impl Into<String>, at: Option<Rect>, value: T)
where T: 'static,
Expand description

Leave value, the motion state of a widget being dropped, for the widget a rebuild puts in its place: the one with the same id, or else one laid out where it was (at).