From ee4c5a73cadcd89ca459ed6fcbc983bba5366838 Mon Sep 17 00:00:00 2001 From: lemolatoon <63438515+lemolatoon@users.noreply.github.com> Date: Tue, 14 Jan 2025 01:22:10 +0900 Subject: [PATCH] Add derives for {Encoder,Decoder}{Input,Output} --- ebi/src/api/decoder.rs | 2 ++ ebi/src/api/encoder.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ebi/src/api/decoder.rs b/ebi/src/api/decoder.rs index fbdc310..a833faf 100644 --- a/ebi/src/api/decoder.rs +++ b/ebi/src/api/decoder.rs @@ -18,6 +18,7 @@ use crate::{ time::SegmentedExecutionTimes, }; +#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)] pub struct DecoderInput { inner: R, } @@ -48,6 +49,7 @@ impl DecoderInput { } } +#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)] pub struct DecoderOutput { inner: W, } diff --git a/ebi/src/api/encoder.rs b/ebi/src/api/encoder.rs index 3442bc1..ea61322 100644 --- a/ebi/src/api/encoder.rs +++ b/ebi/src/api/encoder.rs @@ -12,6 +12,7 @@ use crate::{ time::SegmentedExecutionTimes, }; +#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)] pub struct EncoderInput { inner: R, } @@ -47,6 +48,7 @@ impl EncoderInput { } } +#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)] pub struct EncoderOutput { inner: W, }