[−][src]Struct ptero::method::trailing_unicode::TrailingUnicodeMethod
Trailing unicode encoder for generic Unicode character sets. It uses the UnicodeSet to get the character given the n-bits (where n is the binary logarithm of the set size).
Accepts any Context.
Implementations
impl<T> TrailingUnicodeMethod<T> where
T: UnicodeSet, [src]
T: UnicodeSet,
Trait Implementations
impl<T> Capacity for TrailingUnicodeMethod<T> where
T: UnicodeSet, [src]
T: UnicodeSet,
impl<T, D> Decoder<D> for TrailingUnicodeMethod<T> where
T: UnicodeSet,
D: Context, [src]
T: UnicodeSet,
D: Context,
pub fn partial_decode(&self, context: &D) -> Result<Vec<Bit>, ContextError>[src]
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 TrailingUnicodeMethod<FullUnicodeSet>[src]
impl<T, E> Encoder<E> for TrailingUnicodeMethod<T> where
T: UnicodeSet,
E: Context, [src]
T: UnicodeSet,
E: Context,
pub fn partial_encode(
&self,
context: &mut E,
data: &mut dyn Iterator<Item = Bit>
) -> Result<EncoderResult, Box<dyn Error>>[src]
&self,
context: &mut E,
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<T, E, D> Method<E, D> for TrailingUnicodeMethod<T> where
T: UnicodeSet,
E: Context,
D: Context, [src]
T: UnicodeSet,
E: Context,
D: Context,
Auto Trait Implementations
impl<T> RefUnwindSafe for TrailingUnicodeMethod<T> where
T: RefUnwindSafe, [src]
T: RefUnwindSafe,
impl<T> Send for TrailingUnicodeMethod<T> where
T: Send, [src]
T: Send,
impl<T> Sync for TrailingUnicodeMethod<T> where
T: Sync, [src]
T: Sync,
impl<T> Unpin for TrailingUnicodeMethod<T> where
T: Unpin, [src]
T: Unpin,
impl<T> UnwindSafe for TrailingUnicodeMethod<T> where
T: UnwindSafe, [src]
T: UnwindSafe,
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>,