pub enum CaixaDialeto {
Pacote,
Molde,
MoldePosicional,
Desconhecido,
}Expand description
Which (defcaixa …) declaration a source speaks.
Variants§
Pacote
This crate’s crate::Caixa — a tatara-lisp package manifest.
Keyword-argument form headed by :nome.
Molde
pleme-doc-gen’s repo-surface declaration, keyword-argument form
headed by :name (plus :ecosystem / :package).
MoldePosicional
The same declaration as Self::Molde, written with the package name
as a bare positional symbol — (defcaixa todoku-go :kind :Biblioteca :ecosystem :go …). pleme-doc-gen’s parser reads the first token
after the head as the name, so this is one arity of one declaration,
not a third schema.
Desconhecido
A (defcaixa …) form matching neither. Kept as a variant rather than
an error so classify is total and a census can COUNT the residue —
a classifier that threw here would report “0 unknown” by construction.
Implementations§
Source§impl CaixaDialeto
impl CaixaDialeto
Sourcepub const fn palavra_canonica(self) -> &'static str
pub const fn palavra_canonica(self) -> &'static str
The keyword an author should write for this dialect, once the
migration named in Self::consumidor completes.
Sourcepub const fn consumidor(self) -> &'static str
pub const fn consumidor(self) -> &'static str
Who reads this dialect.
Trait Implementations§
Source§impl Clone for CaixaDialeto
impl Clone for CaixaDialeto
Source§fn clone(&self) -> CaixaDialeto
fn clone(&self) -> CaixaDialeto
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CaixaDialeto
Source§impl Debug for CaixaDialeto
impl Debug for CaixaDialeto
Source§impl Display for CaixaDialeto
impl Display for CaixaDialeto
impl Eq for CaixaDialeto
Source§impl Hash for CaixaDialeto
impl Hash for CaixaDialeto
Source§impl PartialEq for CaixaDialeto
impl PartialEq for CaixaDialeto
impl StructuralPartialEq for CaixaDialeto
Auto Trait Implementations§
impl Freeze for CaixaDialeto
impl RefUnwindSafe for CaixaDialeto
impl Send for CaixaDialeto
impl Sync for CaixaDialeto
impl Unpin for CaixaDialeto
impl UnsafeUnpin for CaixaDialeto
impl UnwindSafe for CaixaDialeto
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
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
key and return true if they are equal.