#[non_exhaustive]pub struct MacroConfig {
pub rorm_path: TokenStream,
}
Expand description
Configuration for rorm
’s macros
This struct can be useful for other crates wrapping rorm
’s macros to tweak their behaviour.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rorm_path: TokenStream
Path to the rorm
crate
This path can be overwritten by another library which wraps and re-exports rorm
.
Defaults to ::rorm
which requires rorm
to be a direct dependency
of any crate using rorm
’s macros.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MacroConfig
impl RefUnwindSafe for MacroConfig
impl !Send for MacroConfig
impl !Sync for MacroConfig
impl Unpin for MacroConfig
impl UnwindSafe for MacroConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more