Skip to main content

ownedMutableStateOf

Function ownedMutableStateOf 

Source
pub fn ownedMutableStateOf<T: Clone + PartialEq + 'static>(
    initial: T,
) -> OwnedMutableState<T>
Expand description

Creates an OwnedMutableState holding initial, which is released when its owner is dropped. Writing an equal value is not a change. Panics without an active runtime.