pub struct Context {
pub config: DarlingConfig,
}
Expand description
Global immutable data about the current darling session. This is currently almost entirely unused, but various configurations in the future are going to go here.
Fields§
§config: DarlingConfig
The configuration cative when running darling.
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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