Virtual_machine/
Custom_data.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use Task::Task_identifier_type;

#[derive(Debug, Clone)]
pub struct Custom_data_type {
    Task_identifier: Task_identifier_type,
}

impl Custom_data_type {
    pub const fn New(Task: Task_identifier_type) -> Self {
        Self {
            Task_identifier: Task,
        }
    }

    pub const fn Get_task_identifier(&self) -> Task_identifier_type {
        self.Task_identifier
    }
}