pub struct Variant {
pub meta: Meta,
pub name: String,
}Expand description
Enum variant.
Fields§
§meta: Meta§name: StringImplementations§
Source§impl Variant
impl Variant
Sourcepub fn clear_spans(&mut self)
pub fn clear_spans(&mut self)
Removes span data from the variant in place.
Trait Implementations§
impl Eq for Variant
impl StructuralPartialEq for Variant
Auto Trait Implementations§
impl Freeze for Variant
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnsafeUnpin for Variant
impl UnwindSafe for Variant
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