pub struct ClojureEdnCodec;Expand description
Decoder that reads Clojure/EDN surface syntax into the shared Expr graph.
Implements the kernel Decoder, LocatedDecoder, and TreeDecoder
contracts; this profile only decodes (surface -> Expr) and registers no
encoder. See the crate README for the language-profile role.
Trait Implementations§
Source§impl Decoder for ClojureEdnCodec
impl Decoder for ClojureEdnCodec
Source§impl LocatedDecoder for ClojureEdnCodec
impl LocatedDecoder for ClojureEdnCodec
Source§fn decode_located(
&self,
cx: &mut ReadCx<'_>,
input: Input,
source_id: String,
) -> Result<LocatedExpr>
fn decode_located( &self, cx: &mut ReadCx<'_>, input: Input, source_id: String, ) -> Result<LocatedExpr>
Source§impl TreeDecoder for ClojureEdnCodec
impl TreeDecoder for ClojureEdnCodec
Source§fn decode_tree(
&self,
cx: &mut ReadCx<'_>,
input: Input,
source_id: String,
) -> Result<LocatedExprTree>
fn decode_tree( &self, cx: &mut ReadCx<'_>, input: Input, source_id: String, ) -> Result<LocatedExprTree>
Auto Trait Implementations§
impl Freeze for ClojureEdnCodec
impl RefUnwindSafe for ClojureEdnCodec
impl Send for ClojureEdnCodec
impl Sync for ClojureEdnCodec
impl Unpin for ClojureEdnCodec
impl UnsafeUnpin for ClojureEdnCodec
impl UnwindSafe for ClojureEdnCodec
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