pub enum InfoLayer {
Embedded,
Repo,
FormatsD,
Effective,
}Expand description
InfoLayer lists the values of the --layer option of sokf info formats (CLI-5).
Variants§
Embedded
Embedded selects the formats embedded in the tool, without those of
the repository.
Repo
Repo selects the formats of /.sokf/formats.yaml, without those of
the tool.
FormatsD
FormatsD selects the formats of the files of /.sokf/formats.d/,
without those of the tool and of /.sokf/formats.yaml.
Effective
Effective selects the formats of the tool, with the layer formats.d
and then the repository’s formats merged on top, where a nearer layer’s
format replaces a farther layer’s format of the same name.
Trait Implementations§
impl Copy for InfoLayer
impl Eq for InfoLayer
impl StructuralPartialEq for InfoLayer
Auto Trait Implementations§
impl Forget for InfoLayer
impl Freeze for InfoLayer
impl Move for InfoLayer
impl RefUnwindSafe for InfoLayer
impl Send for InfoLayer
impl Sync for InfoLayer
impl Unpin for InfoLayer
impl UnsafeUnpin for InfoLayer
impl UnwindSafe for InfoLayer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.