pub enum Source {
BuiltIn,
Line(usize),
}Expand description
Where a rule of a Table comes from. It decides how the log names the
rule’s values (see Origin) and whether its env entries are defaults
(see Origin::env_is_default). Never serialized.
Variants§
BuiltIn
Compiled into compatdb.so: a rule of Table::builtin.
Line(usize)
Line n of ENV_VAR, counted from 1 as Table::parse_lenient
reads the value, blank lines and a legacy header included.
Trait Implementations§
impl Copy for Source
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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