pub struct ResolvedIcydbConfig { /* private fields */ }Expand description
Resolved IcyDB config and the path it came from, if a manifest exists.
Implementations§
Source§impl ResolvedIcydbConfig
impl ResolvedIcydbConfig
Sourcepub fn config_path(&self) -> Option<&Path>
pub fn config_path(&self) -> Option<&Path>
Return the resolved config path, or None when no config file exists.
Sourcepub const fn config(&self) -> &GeneratedIcydbConfig
pub const fn config(&self) -> &GeneratedIcydbConfig
Borrow the validated generated config model.
Trait Implementations§
Source§impl Clone for ResolvedIcydbConfig
impl Clone for ResolvedIcydbConfig
Source§fn clone(&self) -> ResolvedIcydbConfig
fn clone(&self) -> ResolvedIcydbConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResolvedIcydbConfig
impl Debug for ResolvedIcydbConfig
Source§impl Default for ResolvedIcydbConfig
impl Default for ResolvedIcydbConfig
Source§fn default() -> ResolvedIcydbConfig
fn default() -> ResolvedIcydbConfig
Returns the “default value” for a type. Read more
impl Eq for ResolvedIcydbConfig
Source§impl PartialEq for ResolvedIcydbConfig
impl PartialEq for ResolvedIcydbConfig
Source§fn eq(&self, other: &ResolvedIcydbConfig) -> bool
fn eq(&self, other: &ResolvedIcydbConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedIcydbConfig
Auto Trait Implementations§
impl Freeze for ResolvedIcydbConfig
impl RefUnwindSafe for ResolvedIcydbConfig
impl Send for ResolvedIcydbConfig
impl Sync for ResolvedIcydbConfig
impl Unpin for ResolvedIcydbConfig
impl UnsafeUnpin for ResolvedIcydbConfig
impl UnwindSafe for ResolvedIcydbConfig
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