Enum string_box::StringBoxOrigin
source · [−]Variants
Byte(Vec<u8>)
String
Trait Implementations
sourceimpl Clone for StringBoxOrigin
impl Clone for StringBoxOrigin
sourcefn clone(&self) -> StringBoxOrigin
fn clone(&self) -> StringBoxOrigin
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 StringBoxOrigin
impl Debug for StringBoxOrigin
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 StringBoxOrigin
impl Send for StringBoxOrigin
impl Sync for StringBoxOrigin
impl Unpin for StringBoxOrigin
impl UnwindSafe for StringBoxOrigin
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