pub struct AltoTreeAutomatonInputCodec;Expand description
Input codec for Alto’s textual .auto tree-automaton format.
Trait Implementations§
Source§impl Clone for AltoTreeAutomatonInputCodec
impl Clone for AltoTreeAutomatonInputCodec
Source§fn clone(&self) -> AltoTreeAutomatonInputCodec
fn clone(&self) -> AltoTreeAutomatonInputCodec
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 moreimpl Copy for AltoTreeAutomatonInputCodec
Source§impl Debug for AltoTreeAutomatonInputCodec
impl Debug for AltoTreeAutomatonInputCodec
Source§impl Default for AltoTreeAutomatonInputCodec
impl Default for AltoTreeAutomatonInputCodec
Source§fn default() -> AltoTreeAutomatonInputCodec
fn default() -> AltoTreeAutomatonInputCodec
Returns the “default value” for a type. Read more
Source§impl InputCodec<ExplicitWithSignature> for AltoTreeAutomatonInputCodec
impl InputCodec<ExplicitWithSignature> for AltoTreeAutomatonInputCodec
Source§fn metadata(&self) -> &'static CodecMetadata
fn metadata(&self) -> &'static CodecMetadata
Return static codec metadata. This must not read or parse input.
Source§fn read(
&self,
reader: &mut dyn Read,
) -> Result<ExplicitWithSignature, InputCodecError>
fn read( &self, reader: &mut dyn Read, ) -> Result<ExplicitWithSignature, InputCodecError>
Decode a byte stream.
Source§fn read_path(&self, path: &Path) -> Result<T, InputCodecError>
fn read_path(&self, path: &Path) -> Result<T, InputCodecError>
Decode a file. Codecs with path-relative semantics may override this method.
Source§fn read_bytes(&self, input: &[u8]) -> Result<T, InputCodecError>
fn read_bytes(&self, input: &[u8]) -> Result<T, InputCodecError>
Decode an in-memory byte sequence.
Auto Trait Implementations§
impl Freeze for AltoTreeAutomatonInputCodec
impl RefUnwindSafe for AltoTreeAutomatonInputCodec
impl Send for AltoTreeAutomatonInputCodec
impl Sync for AltoTreeAutomatonInputCodec
impl Unpin for AltoTreeAutomatonInputCodec
impl UnsafeUnpin for AltoTreeAutomatonInputCodec
impl UnwindSafe for AltoTreeAutomatonInputCodec
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