From e02e9f0d0509d2522016f85059381810a5b0871b Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sat, 22 Jun 2024 09:15:25 +0200 Subject: [PATCH] Added function Column::get_to_call. --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index a142596..346677a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -75,6 +75,10 @@ impl Column { self.to_call = to_call; self.user_data = user_data; } + + pub fn get_to_call(&self) -> (&Option, &Option>) { + (&self.to_call, &self.user_data) + } } pub struct Grid { -- 2.49.0