pub struct EnumInfoData {
pub name: &'static str,
pub variant_count: usize,
}Fields§
§name: &'static str§variant_count: usizeTrait Implementations§
Source§impl Clone for EnumInfoData
impl Clone for EnumInfoData
Source§fn clone(&self) -> EnumInfoData
fn clone(&self) -> EnumInfoData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnumInfoData
impl Debug for EnumInfoData
Source§impl Hash for EnumInfoData
impl Hash for EnumInfoData
Source§impl Ord for EnumInfoData
impl Ord for EnumInfoData
Source§fn cmp(&self, other: &EnumInfoData) -> Ordering
fn cmp(&self, other: &EnumInfoData) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EnumInfoData
impl PartialEq for EnumInfoData
Source§impl PartialOrd for EnumInfoData
impl PartialOrd for EnumInfoData
impl Copy for EnumInfoData
impl Eq for EnumInfoData
impl StructuralPartialEq for EnumInfoData
Auto Trait Implementations§
impl Freeze for EnumInfoData
impl RefUnwindSafe for EnumInfoData
impl Send for EnumInfoData
impl Sync for EnumInfoData
impl Unpin for EnumInfoData
impl UnwindSafe for EnumInfoData
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