Enum dlt_core::dlt::StringCoding
source · [−]pub enum StringCoding {
ASCII,
UTF8,
Reserved(u8),
}
Expand description
Defines what string type is used, ASCII
or UTF8
Variants
ASCII
UTF8
Reserved(u8)
Trait Implementations
sourceimpl Clone for StringCoding
impl Clone for StringCoding
sourcefn clone(&self) -> StringCoding
fn clone(&self) -> StringCoding
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StringCoding
impl Debug for StringCoding
sourceimpl PartialEq<StringCoding> for StringCoding
impl PartialEq<StringCoding> for StringCoding
sourcefn eq(&self, other: &StringCoding) -> bool
fn eq(&self, other: &StringCoding) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StringCoding) -> bool
fn ne(&self, other: &StringCoding) -> bool
This method tests for !=
.
sourceimpl Serialize for StringCoding
impl Serialize for StringCoding
impl StructuralPartialEq for StringCoding
Auto Trait Implementations
impl RefUnwindSafe for StringCoding
impl Send for StringCoding
impl Sync for StringCoding
impl Unpin for StringCoding
impl UnwindSafe for StringCoding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more