[−][src]Struct ptero::method::line_extend::LineExtendMethod
Unit structure representing the line extension method.
Accepts only following contexts: PivotByLineContext for Encoder trait and
Implementations
impl LineExtendMethod[src]
Trait Implementations
impl Capacity for LineExtendMethod[src]
impl Decoder<PivotByRawLineContext> for LineExtendMethod[src]
pub fn partial_decode(
&self,
context: &PivotByRawLineContext
) -> Result<Vec<Bit>, ContextError>[src]
&self,
context: &PivotByRawLineContext
) -> Result<Vec<Bit>, ContextError>
pub fn decode(
&self,
context: &mut D,
progress_channel: Option<&Sender<ProgressStatus>>
) -> Result<Vec<u8>, Box<dyn Error>>[src]
&self,
context: &mut D,
progress_channel: Option<&Sender<ProgressStatus>>
) -> Result<Vec<u8>, Box<dyn Error>>
impl Default for LineExtendMethod[src]
impl Encoder<PivotByLineContext> for LineExtendMethod[src]
pub fn partial_encode(
&self,
context: &mut PivotByLineContext,
data: &mut dyn Iterator<Item = Bit>
) -> Result<EncoderResult, Box<dyn Error>>[src]
&self,
context: &mut PivotByLineContext,
data: &mut dyn Iterator<Item = Bit>
) -> Result<EncoderResult, Box<dyn Error>>
pub fn encode(
&self,
context: &mut E,
data: &mut dyn Iterator<Item = Bit>,
progress_channel: Option<&Sender<ProgressStatus>>
) -> Result<String, Box<dyn Error>>[src]
&self,
context: &mut E,
data: &mut dyn Iterator<Item = Bit>,
progress_channel: Option<&Sender<ProgressStatus>>
) -> Result<String, Box<dyn Error>>
impl Method<PivotByLineContext, PivotByRawLineContext> for LineExtendMethod[src]
Auto Trait Implementations
impl RefUnwindSafe for LineExtendMethod[src]
impl Send for LineExtendMethod[src]
impl Sync for LineExtendMethod[src]
impl Unpin for LineExtendMethod[src]
impl UnwindSafe for LineExtendMethod[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,