#[repr(C)]pub enum VariantAttribute {
Arbitrary(&'static str),
}
Expand description
An attribute that can be set on an enum variant
Variants§
Trait Implementations§
Source§impl Clone for VariantAttribute
impl Clone for VariantAttribute
Source§fn clone(&self) -> VariantAttribute
fn clone(&self) -> VariantAttribute
Returns a duplicate 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 moreSource§impl Debug for VariantAttribute
impl Debug for VariantAttribute
Source§impl Hash for VariantAttribute
impl Hash for VariantAttribute
Source§impl PartialEq for VariantAttribute
impl PartialEq for VariantAttribute
impl Copy for VariantAttribute
impl Eq for VariantAttribute
impl StructuralPartialEq for VariantAttribute
Auto Trait Implementations§
impl Freeze for VariantAttribute
impl RefUnwindSafe for VariantAttribute
impl Send for VariantAttribute
impl Sync for VariantAttribute
impl Unpin for VariantAttribute
impl UnwindSafe for VariantAttribute
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