#[repr(C)]pub struct EnumConstant<'a> {
pub type_: Type<'a>,
pub type_full_name: StringView<'a>,
pub value_name: StringView<'a>,
pub number: i32,
}Fields§
§type_: Type<'a>§type_full_name: StringView<'a>§value_name: StringView<'a>§number: i32Trait Implementations§
Source§impl<'a> Clone for EnumConstant<'a>
impl<'a> Clone for EnumConstant<'a>
Source§fn clone(&self) -> EnumConstant<'a>
fn clone(&self) -> EnumConstant<'a>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> ExternType for EnumConstant<'a>
impl<'a> ExternType for EnumConstant<'a>
impl<'a> Copy for EnumConstant<'a>
Auto Trait Implementations§
impl<'a> Freeze for EnumConstant<'a>
impl<'a> RefUnwindSafe for EnumConstant<'a>
impl<'a> Send for EnumConstant<'a>
impl<'a> Sync for EnumConstant<'a>
impl<'a> Unpin for EnumConstant<'a>
impl<'a> UnwindSafe for EnumConstant<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)