Remove requirement for quantity_type! macro to have Quantity and Value in scope #15

Open
opened 2024-10-29 15:57:34 +00:00 by zack · 0 comments
Owner

use physical::quantity::{Quantity, Value};

The problem is we can't specify the full path here because when use them in Physical Rust requires we use crate and when outside physical we use physical so the macro needs some kind of compilation flag or something to switch between the two.

`use physical::quantity::{Quantity, Value};` The problem is we can't specify the full path here because when use them in Physical Rust requires we `use crate` and when outside physical we `use physical` so the macro needs some kind of compilation flag or something to switch between the two.
zack added the
enhancement
accepted
label 2024-10-29 15:57:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: BFPOWER/physical#15
No description provided.