pub struct VariantSetMeta {
pub name: &'static str,
pub baseline: &'static str,
pub candidates: &'static [&'static str],
}Expand description
Metadata for a specialization target (used by specialize_target!).
Fields§
§name: &'static strTarget name.
baseline: &'static strBaseline variant id.
candidates: &'static [&'static str]Candidate variant ids.
Trait Implementations§
Source§impl Clone for VariantSetMeta
impl Clone for VariantSetMeta
Source§fn clone(&self) -> VariantSetMeta
fn clone(&self) -> VariantSetMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VariantSetMeta
Auto Trait Implementations§
impl Freeze for VariantSetMeta
impl RefUnwindSafe for VariantSetMeta
impl Send for VariantSetMeta
impl Sync for VariantSetMeta
impl Unpin for VariantSetMeta
impl UnsafeUnpin for VariantSetMeta
impl UnwindSafe for VariantSetMeta
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