#[repr(i32)]pub enum TestEnum {
Default = 0,
Value1 = 1,
Value2 = 2,
}Variants§
Trait Implementations§
impl Copy for TestEnum
impl Eq for TestEnum
impl StructuralPartialEq for TestEnum
Auto Trait Implementations§
impl Freeze for TestEnum
impl RefUnwindSafe for TestEnum
impl Send for TestEnum
impl Sync for TestEnum
impl Unpin for TestEnum
impl UnsafeUnpin for TestEnum
impl UnwindSafe for TestEnum
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§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)