#[non_exhaustive]pub enum ConfigOverlay {
Inline {
name_value: String,
},
File(PathBuf),
}Expand description
Config overlays passed through global jj options.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Inline
Inline NAME=VALUE config passed with jj --config.
File(PathBuf)
A config file passed with jj --config-file.
Trait Implementations§
Source§impl Clone for ConfigOverlay
impl Clone for ConfigOverlay
Source§fn clone(&self) -> ConfigOverlay
fn clone(&self) -> ConfigOverlay
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 ConfigOverlay
impl Debug for ConfigOverlay
impl Eq for ConfigOverlay
Source§impl PartialEq for ConfigOverlay
impl PartialEq for ConfigOverlay
Source§fn eq(&self, other: &ConfigOverlay) -> bool
fn eq(&self, other: &ConfigOverlay) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigOverlay
Auto Trait Implementations§
impl Freeze for ConfigOverlay
impl RefUnwindSafe for ConfigOverlay
impl Send for ConfigOverlay
impl Sync for ConfigOverlay
impl Unpin for ConfigOverlay
impl UnsafeUnpin for ConfigOverlay
impl UnwindSafe for ConfigOverlay
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