Enum string_box::StringBoxOriginType
source · [−]#[repr(u8)]
pub enum StringBoxOriginType {
Byte,
UTF8,
Wide,
}
Variants
Byte
UTF8
Wide
Trait Implementations
sourceimpl Clone for StringBoxOriginType
impl Clone for StringBoxOriginType
sourcefn clone(&self) -> StringBoxOriginType
fn clone(&self) -> StringBoxOriginType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StringBoxOriginType
impl Debug for StringBoxOriginType
sourceimpl From<StringBoxOrigin> for StringBoxOriginType
impl From<StringBoxOrigin> for StringBoxOriginType
sourcefn from(origin: StringBoxOrigin) -> StringBoxOriginType
fn from(origin: StringBoxOrigin) -> StringBoxOriginType
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for StringBoxOriginType
impl Send for StringBoxOriginType
impl Sync for StringBoxOriginType
impl Unpin for StringBoxOriginType
impl UnwindSafe for StringBoxOriginType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more