pub enum TypedConfigValue {
Bool(bool),
Int(i64),
Path(String),
}Expand description
A config value after typed parsing.
Variants§
Implementations§
Source§impl TypedConfigValue
impl TypedConfigValue
Sourcepub fn to_canonical_string(&self) -> String
pub fn to_canonical_string(&self) -> String
Canonical string form for writing to a config file (matches Git --type output).
Trait Implementations§
Source§impl Clone for TypedConfigValue
impl Clone for TypedConfigValue
Source§impl Debug for TypedConfigValue
impl Debug for TypedConfigValue
impl Eq for TypedConfigValue
Source§impl PartialEq for TypedConfigValue
impl PartialEq for TypedConfigValue
impl StructuralPartialEq for TypedConfigValue
Auto Trait Implementations§
impl Freeze for TypedConfigValue
impl RefUnwindSafe for TypedConfigValue
impl Send for TypedConfigValue
impl Sync for TypedConfigValue
impl Unpin for TypedConfigValue
impl UnsafeUnpin for TypedConfigValue
impl UnwindSafe for TypedConfigValue
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