pub enum StreamEncoding {
Utf8,
Ascii,
Latin1,
}Expand description
The text encodings the null-terminated string helpers support.
Variants§
Utf8
UTF-8, which Steam uses nearly everywhere.
Ascii
US-ASCII; bytes above 0x7F are replaced with ?.
Latin1
ISO-8859-1 (Latin-1); code points above U+00FF are replaced with ?.
Trait Implementations§
Source§impl Clone for StreamEncoding
impl Clone for StreamEncoding
impl Copy for StreamEncoding
Source§impl Debug for StreamEncoding
impl Debug for StreamEncoding
impl Eq for StreamEncoding
Source§impl PartialEq for StreamEncoding
impl PartialEq for StreamEncoding
impl StructuralPartialEq for StreamEncoding
Auto Trait Implementations§
impl Freeze for StreamEncoding
impl RefUnwindSafe for StreamEncoding
impl Send for StreamEncoding
impl Sync for StreamEncoding
impl Unpin for StreamEncoding
impl UnsafeUnpin for StreamEncoding
impl UnwindSafe for StreamEncoding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.