#[repr(u16)]pub enum EnumWithExpressions {
OrWithLiteral = 3,
OrWithConstant = 5,
}
Variants§
Trait Implementations§
Source§impl Clone for EnumWithExpressions
impl Clone for EnumWithExpressions
Source§fn clone(&self) -> EnumWithExpressions
fn clone(&self) -> EnumWithExpressions
Returns a copy 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 EnumWithExpressions
impl Debug for EnumWithExpressions
Source§impl PartialEq for EnumWithExpressions
impl PartialEq for EnumWithExpressions
impl Copy for EnumWithExpressions
impl Eq for EnumWithExpressions
impl IntoBytes for EnumWithExpressions
impl StructuralPartialEq for EnumWithExpressions
Auto Trait Implementations§
impl Freeze for EnumWithExpressions
impl RefUnwindSafe for EnumWithExpressions
impl Send for EnumWithExpressions
impl Sync for EnumWithExpressions
impl Unpin for EnumWithExpressions
impl UnwindSafe for EnumWithExpressions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)