Create RoFeatures from RuntimeFeatures

This commit is contained in:
Louis Dureuil
2025-12-08 11:03:45 +01:00
parent 43a11d2f66
commit ccbcacec22

View File

@@ -38,6 +38,10 @@ impl RoFeatures {
Self { runtime }
}
pub fn from_runtime_features(features: RuntimeTogglableFeatures) -> Self {
Self { runtime: features }
}
pub fn runtime_features(&self) -> RuntimeTogglableFeatures {
self.runtime
}