diff options
author | Pierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com> | 2017-06-05 17:15:06 +0200 |
---|---|---|
committer | Pierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com> | 2017-06-05 17:15:06 +0200 |
commit | a99d195b4a4ed40c969c2dff64353d5273f310a5 (patch) | |
tree | d356d8dc66ef748ca404e27251b75c84e866f38b /src/lib.rs | |
parent | 4e36ac179fc5341b35221018573e265a1f1a0a53 (diff) |
Customize indent in format
Closes #51
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -283,6 +283,11 @@ impl Table { *self.format = format; } + /// Get a mutable reference to the internal format + pub fn get_format(&mut self) -> &mut TableFormat { + &mut self.format + } + /// Compute and return the number of column pub fn get_column_num(&self) -> usize { self.as_ref().get_column_num() |