1
0
Fork 0

some comments and impl

This commit is contained in:
Rendo 2025-02-15 21:17:16 -09:00
commit cb159e7905

View file

@ -27,6 +27,8 @@ pub enum BaseProperties
Parasite Parasite
} }
//Блок основных имплементаций
impl Property for BaseProperties { impl Property for BaseProperties {
fn check_condition(self : &Self) -> bool { fn check_condition(self : &Self) -> bool {
match self match self
@ -74,3 +76,14 @@ impl Property for BaseProperties {
} }
} }
} }
// Блок необходимых имплементаций
unsafe impl Sync for BaseProperties
{
}
unsafe impl Send for BaseProperties
{
}