pub struct FlakeLisp {
pub descricao: String,
pub entradas: Vec<FlakeInput>,
pub saidas: Option<FlakeOutput>,
}Expand description
A whole flake.lisp — parsed as a TataraDomain via defflake.
Fields§
§descricao: String§entradas: Vec<FlakeInput>§saidas: Option<FlakeOutput>Implementations§
Source§impl FlakeLisp
impl FlakeLisp
pub fn from_lisp(src: &str) -> Result<Self, LispError>
Sourcepub fn register() -> Result<(), KeywordCollision>
pub fn register() -> Result<(), KeywordCollision>
Register FlakeLisp with the global tatara-lisp domain registry
so defflake is dispatchable from any tatara-lisp binary that
seeds the registry.
§Errors
tatara_lisp::KeywordCollision when a peer type has already
claimed the defflake keyword in this process. Peer of the
sibling caixa_core::Caixa::register and the other per-crate
entry points documented at
caixa-core/src/manifest.rs::Caixa::register — every substrate
crate that owns a tatara-lisp keyword now propagates the same
typed error verbatim.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlakeLisp
impl<'de> Deserialize<'de> for FlakeLisp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for FlakeLisp
Source§impl TataraDomain for FlakeLisp
impl TataraDomain for FlakeLisp
Source§fn compile_from_args(args: &[Sexp]) -> Result<Self>
fn compile_from_args(args: &[Sexp]) -> Result<Self>
Parse the argument list (everything after the keyword) into Self.
Auto Trait Implementations§
impl Freeze for FlakeLisp
impl RefUnwindSafe for FlakeLisp
impl Send for FlakeLisp
impl Sync for FlakeLisp
impl Unpin for FlakeLisp
impl UnsafeUnpin for FlakeLisp
impl UnwindSafe for FlakeLisp
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