zhiburt / tabled

An easy to use library for pretty print tables of Rust structs and enums.
MIT License
1.94k stars 77 forks source link

add `Clone`, `Copy` to `tabled::settings::object::Cell` #406

Closed Alexdelia closed 3 months ago

Alexdelia commented 3 months ago

also update papergrid Position derive

zhiburt commented 3 months ago

Yes; was missed.

Thanks.

Take care

Alexdelia commented 2 months ago

@zhiburt my bad!

https://github.com/zhiburt/tabled/pull/406/files#diff-6cf2d635d9e21ba2e27b76757a18797d07598c9076b6fe41d9ab323bd67019d1R13

is incorrect, we cannot apply derive to a type

it compiled because tabled is using the crate registry version of papergrid, and not the local one

zhiburt commented 2 months ago

is incorrect, we cannot apply derive to a type

Yes :smile: To be honest I was thinking about it; and decided not to check; was thinking maybe something was changed in a latest rust versions :)

it compiled because tabled is using the crate registry version of papergrid, and not the local one

True;;;;;;;; Kind of thinking about it too; in a different way; to split workspace into its own modules; to speed up compile time. But haven't got to a conclusion which is best.