[−][src]Enum yamlette::txt::encoding::Encoding
Variants
UTF8(UTF8)
Trait Implementations
impl Unicode for Encoding
[src]
fn char_max_bytes_len(self) -> u8
[src]
fn check_is_flo_num(self, stream: &[u8]) -> bool
[src]
fn check_is_dec_num(self, stream: &[u8]) -> bool
[src]
fn extract_bin_digit(self, stream: &[u8]) -> Option<(u8, u8)>
[src]
fn extract_dec_digit(self, stream: &[u8]) -> Option<(u8, u8)>
[src]
fn extract_oct_digit(self, stream: &[u8]) -> Option<(u8, u8)>
[src]
fn extract_hex_digit(self, stream: &[u8]) -> Option<(u8, u8)>
[src]
fn check_bom(self, bom: &[u8]) -> bool
[src]
unsafe fn to_unicode_ptr(self, ptr: *const u8, len: usize) -> (u32, u8)
[src]
fn to_unicode(self, stream: &[u8]) -> (u32, u8)
[src]
fn from_unicode(self, point: u32) -> [u8; 5]
[src]
fn str_to_bytes<'a>(self, string: &'a str) -> Result<&'a [u8], Vec<u8>>
[src]
fn string_to_bytes(self, string: String) -> Vec<u8>
[src]
fn bytes_to_string(self, bytes: &[u8]) -> Result<String, ()>
[src]
fn bytes_to_string_times(self, bytes: &[u8], times: usize) -> Result<String, ()>
[src]
impl Copy for Encoding
[src]
impl Clone for Encoding
[src]
fn clone(&self) -> Encoding
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Encoding
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,