cranpose-core 0.1.164

Core runtime for a Jetpack Compose inspired UI framework in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::{rc::Rc, sync::Arc};

use super::*;
use crate::{
    snapshot_v2::runtime::TestRuntimeGuard,
    state::{MutationPolicy, NeverEqual, SnapshotMutableState, StateRecord},
};

fn reset_runtime() -> TestRuntimeGuard {
    crate::snapshot_pinning::reset_pinning_table();
    reset_runtime_for_tests()
}

#[cfg(test)]
#[path = "integration_tests_tests.rs"]
mod tests;