pub struct IrtgInputCodec;Expand description
Input codec for Alto’s textual .irtg format.
Trait Implementations§
Source§impl Clone for IrtgInputCodec
impl Clone for IrtgInputCodec
Source§fn clone(&self) -> IrtgInputCodec
fn clone(&self) -> IrtgInputCodec
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 IrtgInputCodec
Source§impl Debug for IrtgInputCodec
impl Debug for IrtgInputCodec
Source§impl Default for IrtgInputCodec
impl Default for IrtgInputCodec
Source§fn default() -> IrtgInputCodec
fn default() -> IrtgInputCodec
Returns the “default value” for a type. Read more
Source§impl InputCodec<Irtg> for IrtgInputCodec
impl InputCodec<Irtg> for IrtgInputCodec
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_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 IrtgInputCodec
impl RefUnwindSafe for IrtgInputCodec
impl Send for IrtgInputCodec
impl Sync for IrtgInputCodec
impl Unpin for IrtgInputCodec
impl UnsafeUnpin for IrtgInputCodec
impl UnwindSafe for IrtgInputCodec
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