pub struct TomlLoader { /* private fields */ }Expand description
TOML file loader with comprehensive parsing capabilities
Implementations§
Source§impl TomlLoader
impl TomlLoader
Sourcepub fn with_search_path<P: AsRef<Path>>(self, path: P) -> Self
pub fn with_search_path<P: AsRef<Path>>(self, path: P) -> Self
Add search path for TOML files
Sourcepub fn with_search_paths<I, P>(self, paths: I) -> Self
pub fn with_search_paths<I, P>(self, paths: I) -> Self
Add multiple search paths
Sourcepub fn with_extensions<I, S>(self, extensions: I) -> Self
pub fn with_extensions<I, S>(self, extensions: I) -> Self
Set file extensions to include
Sourcepub fn with_validation_rule(self, rule: ValidationRule) -> Self
pub fn with_validation_rule(self, rule: ValidationRule) -> Self
Add validation rule for loaded TOML files
Trait Implementations§
Source§impl Clone for TomlLoader
impl Clone for TomlLoader
Source§fn clone(&self) -> TomlLoader
fn clone(&self) -> TomlLoader
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 moreSource§impl Debug for TomlLoader
impl Debug for TomlLoader
Auto Trait Implementations§
impl Freeze for TomlLoader
impl RefUnwindSafe for TomlLoader
impl Send for TomlLoader
impl Sync for TomlLoader
impl Unpin for TomlLoader
impl UnwindSafe for TomlLoader
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