1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
// This file is part of "x64asm" // Under the MIT License // Copyright (c) 2023 Antonin Hérault /// The character that separate the code elements in a line. #[derive(Debug, Copy, Clone, Eq, PartialEq)] pub enum Separator { Space, //Spaces(usize), Tabulation, //Tabulations(usize), } impl Separator { pub fn value(&self) -> &str { match self { Self::Space => " ", Self::Tabulation => "\t", } } }