pub enum SourceKind {
Erlang,
Elixir,
CuttlefishSchema,
Other,
}Variants§
Erlang
Elixir
CuttlefishSchema
Cuttlefish .schema, .snippets, and .partial files: Erlang
fragments embedded in a config-key DSL. Locating the
{translation, ..., fun(Conf) -> M:F(...) end} fun bodies needs
the whole file and the cuttlefish parser, so the CLI extracts the
references and folds them in with with_extra_references. The
.partial extension was introduced in cuttlefish 3.8.0.
Other
Implementations§
Trait Implementations§
Source§impl Clone for SourceKind
impl Clone for SourceKind
Source§fn clone(&self) -> SourceKind
fn clone(&self) -> SourceKind
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 SourceKind
impl Debug for SourceKind
impl Eq for SourceKind
Source§impl PartialEq for SourceKind
impl PartialEq for SourceKind
impl StructuralPartialEq for SourceKind
Auto Trait Implementations§
impl Freeze for SourceKind
impl RefUnwindSafe for SourceKind
impl Send for SourceKind
impl Sync for SourceKind
impl Unpin for SourceKind
impl UnsafeUnpin for SourceKind
impl UnwindSafe for SourceKind
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