Your Name 1 year ago
parent
commit
87ea889f2c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/cytoband.rs

+ 2 - 0
src/cytoband.rs

@@ -115,6 +115,7 @@ fn generate_tube_base(config: &SvgConfig) -> String {
     )
 }
 
+#[derive(Debug)]
 pub struct AdditionalRect {
     pub start: u32,
     pub end: u32,
@@ -122,6 +123,7 @@ pub struct AdditionalRect {
     pub position: RectPosition,
 }
 
+#[derive(Debug)]
 pub enum RectPosition {
     Above(u32), // The u32 represents the level (0 being just above the tube, 1 above that, etc.)
     Below(u32), // The u32 represents the level (0 being just below the tube, 1 below that, etc.)