pub struct DocEnum {
pub names: Vec<String>,
pub is_token: bool,
pub comment: String,
pub place: DocPlace,
}Expand description
The values of an enumeration, as one enum declares them.
Fields§
§names: Vec<String>The values, in order.
is_token: boolIt declares kinds of token (enum token).
comment: StringThe comment above it, without its comment marks.
place: DocPlaceWhere it is declared.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DocEnum
impl Freeze for DocEnum
impl Move for DocEnum
impl RefUnwindSafe for DocEnum
impl Send for DocEnumwhere
RawVecInner: Send,
impl Sync for DocEnumwhere
RawVecInner: Sync,
impl Unpin for DocEnum
impl UnsafeUnpin for DocEnumwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for DocEnumwhere
RawVecInner: UnwindSafe,
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