pub enum ConstParamKind {
Bool,
Char,
U8,
U16,
U32,
U64,
Usize,
I8,
I16,
I32,
I64,
Isize,
}Expand description
Primitive kind for reflected const generic parameters.
Variants§
Bool
bool
Char
char
U8
u8
U16
u16
U32
u32
U64
u64
Usize
usize
I8
i8
I16
i16
I32
i32
I64
i64
Isize
isize
Trait Implementations§
Source§impl Clone for ConstParamKind
impl Clone for ConstParamKind
Source§fn clone(&self) -> ConstParamKind
fn clone(&self) -> ConstParamKind
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 ConstParamKind
impl Debug for ConstParamKind
Source§impl Hash for ConstParamKind
impl Hash for ConstParamKind
Source§impl PartialEq for ConstParamKind
impl PartialEq for ConstParamKind
impl Copy for ConstParamKind
impl Eq for ConstParamKind
impl StructuralPartialEq for ConstParamKind
Auto Trait Implementations§
impl Freeze for ConstParamKind
impl RefUnwindSafe for ConstParamKind
impl Send for ConstParamKind
impl Sync for ConstParamKind
impl Unpin for ConstParamKind
impl UnsafeUnpin for ConstParamKind
impl UnwindSafe for ConstParamKind
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