pub struct InternalOptions {
pub pretty: bool,
pub format: ConfigFormat,
pub save_on_drop: bool,
}Expand description
The internally-stored settings type for Config
Works and looks like ConfigSetupOptions, with a few internally-required key differences.
Fields§
§pretty: bool§format: ConfigFormat§save_on_drop: boolTrait Implementations§
Source§impl TryFrom<ConfigSetupOptions> for InternalOptions
impl TryFrom<ConfigSetupOptions> for InternalOptions
Source§type Error = String
type Error = String
This function converts a ConfigSetupOptions into an internally-used InternalOptions.
This function is not recommended to be used outside the fast_config source code
unless you know what you’re doing and accept the risks.
The signature or behaviour of the function may be modified in the future.
Auto Trait Implementations§
impl Freeze for InternalOptions
impl RefUnwindSafe for InternalOptions
impl Send for InternalOptions
impl Sync for InternalOptions
impl Unpin for InternalOptions
impl UnwindSafe for InternalOptions
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