reduce exposed internal functions and fields

This commit is contained in:
2026-05-16 15:31:10 +02:00
parent cd589b2513
commit a7570911d8
9 changed files with 103 additions and 94 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ pub enum DrawingFormat {
// Weitere Formate wie Png, Pdf, ...
}
pub trait DrawingExporter {
pub(crate) trait DrawingExporter {
/// Export the drawing to the specified format and filename
///
/// # Errors
@@ -26,7 +26,7 @@ pub trait DrawingExporter {
fn export(&self, world: &TurtleWorld, filename: &str) -> Result<(), ExportError>;
}
pub fn parse_svg_export_arg() -> Option<String> {
pub(crate) fn parse_svg_export_arg() -> Option<String> {
let args: Vec<String> = std::env::args().collect();
let mut i = 1;
while i < args.len() {