Comments (8)
Understood.
Let me know if you'll encounter any difficulties on the second shot :)
If you don't mind I'll close the issue then.
And Yes.
Happy New Year.
from tabled.
Hi @nrdxp
Good observation,
I never thought about it.
Thank you for bringing this up and making the proposal.
I'll try to work on this tomorrow.
from tabled.
Hey @nrdxp
Could you show the exact type you're using?
Because I as see hiding fields in struct
s and tuple
s works well in master branch already. (surprisingly 😄)
The only issue I've spotted is when it's used in enum with #[field(inline)]
.
Is this your case?
Here's a bunch of tests
Lines 593 to 715 in 061ccd7
from tabled.
By they how do you think maybe its worth to rename hidden
to ignore
?
from tabled.
*Coincidentally was closed after #34 merge 😥
from tabled.
@nrdxp ping
from tabled.
ping
from tabled.
Hey sorry, my notifications got flooded with other things and I haven't seen any of this til now. Unfortunately I don't have any of the code I was using at the time left over, I switched to using prettytable-rs for the time being, although I would much prefer printing the tables directly from structs as this crate provides, rather than manually building the tables as I'm doing with prettytable, so I'd eventually like to give this another shot.
from tabled.
Related Issues (20)
- Unicode width not being accounted for HOT 2
- Can it be integrated with leptos? Can you give an example? HOT 4
- Add per column alignment setting for `ColumnNames`
- Typo in lib.rs line 72 - "almoust" should be "almost" HOT 1
- Is there any way to cut short long row entries HOT 3
- reduce padding option?
- Possible way to set intersection to a different character for just one row/column? HOT 3
- Make all set functions for `Style` `const` HOT 1
- `table.is_empty()` on tables with only a header row HOT 3
- Question: Is there a way to conditionally apply a cell background color? HOT 5
- Impossible to call `Style::empty().remove_left()` HOT 8
- `Rotate::Bottom` must reorder rows?
- Refactor `Builder` methods HOT 17
- Add a indent size
- Does not build on MacOS HOT 4
- Add a benchmark to compare against a basic tabulation HOT 1
- Why the left/right border does not have intersection `CompactTable`
- Impl `Dimension` for Vec<usize>
- Add a `skip` function to `CompactTable`
- Create a iterative interface to `CompactTable`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabled.