pub enum Transcode {
Copy(FixedEncoding),
Latin1ToUtf16,
Latin1ToUtf8,
Utf16ToCompactProbablyUtf16,
Utf16ToCompactUtf16,
Utf16ToLatin1,
Utf16ToUtf8,
Utf8ToCompactUtf16,
Utf8ToLatin1,
Utf8ToUtf16,
}
Expand description
Possible transcoding operations that must be provided by the host.
Note that each transcoding operation may have a unique signature depending on the precise operation.
Variants§
Copy(FixedEncoding)
Latin1ToUtf16
Latin1ToUtf8
Utf16ToCompactProbablyUtf16
Utf16ToCompactUtf16
Utf16ToLatin1
Utf16ToUtf8
Utf8ToCompactUtf16
Utf8ToLatin1
Utf8ToUtf16
Implementations§
Trait Implementations§
impl Copy for Transcode
impl Eq for Transcode
impl StructuralPartialEq for Transcode
Auto Trait Implementations§
impl Freeze for Transcode
impl RefUnwindSafe for Transcode
impl Send for Transcode
impl Sync for Transcode
impl Unpin for Transcode
impl UnwindSafe for Transcode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.