#[repr(C)]pub struct EnumCase {
pub name: RString,
pub docs: DocBlock,
pub value: Option<RString>,
}Available on crate feature
enum only.Expand description
Represents a case in an exported enum.
Fields§
§name: RStringName of the enum case.
docs: DocBlockDocumentation comments for the enum case.
value: Option<RString>Value of the enum case.
Trait Implementations§
impl StructuralPartialEq for EnumCase
Auto Trait Implementations§
impl Freeze for EnumCase
impl RefUnwindSafe for EnumCase
impl !Send for EnumCase
impl !Sync for EnumCase
impl Unpin for EnumCase
impl UnwindSafe for EnumCase
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