pub struct EnumValue {
pub span_range: Range<usize>,
pub value: Ident,
pub settings: Option<EnumValueSettings>,
}
Expand description
Represents an enum value or variant.
Fields§
§span_range: Range<usize>
The range of the span in the source text.
value: Ident
§settings: Option<EnumValueSettings>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnumValue
impl RefUnwindSafe for EnumValue
impl Send for EnumValue
impl Sync for EnumValue
impl Unpin for EnumValue
impl UnwindSafe for EnumValue
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