Struct dbase::encoding::UnicodeLossy
source · pub struct UnicodeLossy;
Expand description
This unit struct can be used as an Encoding
to try to decode characters as Unicode,
falling back to the replacement character for unknown codepoints.
Trait Implementations§
source§impl AsCodePageMark for UnicodeLossy
impl AsCodePageMark for UnicodeLossy
fn code_page_mark(&self) -> CodePageMark
source§impl Clone for UnicodeLossy
impl Clone for UnicodeLossy
source§fn clone(&self) -> UnicodeLossy
fn clone(&self) -> UnicodeLossy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnicodeLossy
impl Debug for UnicodeLossy
source§impl Encoding for UnicodeLossy
impl Encoding for UnicodeLossy
Tries to decode as Unicode, replaces unknown codepoints with the replacement character.
impl Copy for UnicodeLossy
Auto Trait Implementations§
impl RefUnwindSafe for UnicodeLossy
impl Send for UnicodeLossy
impl Sync for UnicodeLossy
impl Unpin for UnicodeLossy
impl UnwindSafe for UnicodeLossy
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