pub struct CfgContext(/* private fields */);Expand description
Metadata and lookup access for a shared configuration.
Implementations§
Source§impl CfgContext
impl CfgContext
Sourcepub fn get<T>(&self) -> Cfg<T>where
T: Configuration,
pub fn get<T>(&self) -> Cfg<T>where
T: Configuration,
Returns a typed configuration value from the same shared configuration.
Returns a handle to the complete shared configuration.
Trait Implementations§
Source§impl Debug for CfgContext
impl Debug for CfgContext
Source§impl Default for CfgContext
impl Default for CfgContext
impl Send for CfgContext
impl Sync for CfgContext
Auto Trait Implementations§
impl !RefUnwindSafe for CfgContext
impl !UnwindSafe for CfgContext
impl Freeze for CfgContext
impl Unpin for CfgContext
impl UnsafeUnpin for CfgContext
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