Enum target_lexicon::CustomVendor
source · Expand description
A string for a Vendor::Custom
that can either be used in const
contexts or hold dynamic strings.
Variants§
Owned(Box<String>)
An owned String
. This supports the general case.
Static(&'static str)
A static str
, so that CustomVendor
can be constructed in const
contexts.
Implementations§
Trait Implementations§
source§impl Clone for CustomVendor
impl Clone for CustomVendor
source§fn clone(&self) -> CustomVendor
fn clone(&self) -> CustomVendor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more