pub struct SchemeCodec;Expand description
Decoder turning Scheme surface text into the shared Expr graph.
Implements the kernel Decoder, LocatedDecoder, and TreeDecoder
contracts; this profile supplies no encoder.
Trait Implementations§
Source§impl Decoder for SchemeCodec
impl Decoder for SchemeCodec
Source§impl LocatedDecoder for SchemeCodec
impl LocatedDecoder for SchemeCodec
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 SchemeCodec
impl TreeDecoder for SchemeCodec
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 SchemeCodec
impl RefUnwindSafe for SchemeCodec
impl Send for SchemeCodec
impl Sync for SchemeCodec
impl Unpin for SchemeCodec
impl UnsafeUnpin for SchemeCodec
impl UnwindSafe for SchemeCodec
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