1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
crate::ix!();
#[derive(Clone)]
pub struct SectionInfo
{
pub name: String,
pub file: String,
pub line: i32,
}
impl SectionInfo {
pub fn new(name: &str, file: &str, line: i32) -> Self {
Self {
name: name.to_string(),
file: file.to_string(),
line: line
}
}
}