pub enum FileEncodingHint {
Auto,
Utf8,
Gb18030,
}Variants§
Trait Implementations§
Source§impl Clone for FileEncodingHint
impl Clone for FileEncodingHint
Source§fn clone(&self) -> FileEncodingHint
fn clone(&self) -> FileEncodingHint
Returns a duplicate 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 FileEncodingHint
impl Debug for FileEncodingHint
Source§impl Default for FileEncodingHint
impl Default for FileEncodingHint
Source§fn default() -> FileEncodingHint
fn default() -> FileEncodingHint
Returns the “default value” for a type. Read more
Source§impl PartialEq for FileEncodingHint
impl PartialEq for FileEncodingHint
impl Copy for FileEncodingHint
impl Eq for FileEncodingHint
impl StructuralPartialEq for FileEncodingHint
Auto Trait Implementations§
impl Freeze for FileEncodingHint
impl RefUnwindSafe for FileEncodingHint
impl Send for FileEncodingHint
impl Sync for FileEncodingHint
impl Unpin for FileEncodingHint
impl UnsafeUnpin for FileEncodingHint
impl UnwindSafe for FileEncodingHint
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more