pub enum FeaturePacket {
One,
Two,
Three,
}Variants§
Implementations§
Source§impl FeaturePacket
impl FeaturePacket
pub const ALL: [Self; 3]
pub fn number(self) -> u8
pub fn feature_keys(self) -> [FeatureKey; 8]
Trait Implementations§
Source§impl Clone for FeaturePacket
impl Clone for FeaturePacket
Source§fn clone(&self) -> FeaturePacket
fn clone(&self) -> FeaturePacket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FeaturePacket
Source§impl Debug for FeaturePacket
impl Debug for FeaturePacket
impl Eq for FeaturePacket
Source§impl PartialEq for FeaturePacket
impl PartialEq for FeaturePacket
impl StructuralPartialEq for FeaturePacket
Auto Trait Implementations§
impl Freeze for FeaturePacket
impl RefUnwindSafe for FeaturePacket
impl Send for FeaturePacket
impl Sync for FeaturePacket
impl Unpin for FeaturePacket
impl UnsafeUnpin for FeaturePacket
impl UnwindSafe for FeaturePacket
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