pub struct PropertiesConfigSource { /* private fields */ }Expand description
Configuration source that loads from Java .properties format files
§Examples
ⓘ
use qubit_config::source::{PropertiesConfigSource, ConfigSource};
use qubit_config::Config;
let source = PropertiesConfigSource::from_file("config.properties");
let mut config = Config::new();
source.load(&mut config).unwrap();§Author
Haixing Hu
Implementations§
Trait Implementations§
Source§impl Clone for PropertiesConfigSource
impl Clone for PropertiesConfigSource
Source§fn clone(&self) -> PropertiesConfigSource
fn clone(&self) -> PropertiesConfigSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PropertiesConfigSource
impl RefUnwindSafe for PropertiesConfigSource
impl Send for PropertiesConfigSource
impl Sync for PropertiesConfigSource
impl Unpin for PropertiesConfigSource
impl UnsafeUnpin for PropertiesConfigSource
impl UnwindSafe for PropertiesConfigSource
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