pub struct EnumBlock {
pub span_range: Range<usize>,
pub ident: EnumIdent,
pub values: Vec<EnumValue>,
}
Expand description
Represents a top-level block of enum.
Fields§
§span_range: Range<usize>
The range of the span in the source text.
ident: EnumIdent
The identifier of the enum block including schema (optional) and name.
values: Vec<EnumValue>
The list of variants of the enums.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnumBlock
impl RefUnwindSafe for EnumBlock
impl Send for EnumBlock
impl Sync for EnumBlock
impl Unpin for EnumBlock
impl UnwindSafe for EnumBlock
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