Skip to main content

BatCommonDesignationEnum

Enum BatCommonDesignationEnum 

Source
pub enum BatCommonDesignationEnum {
Show 82 variants Unspecified, Aaa, Aa, C, D, _4V5, _6V0, _9V0, _12Aa, Aaaa, A, B, F, N, No6, SubC, A23, A27, Ba5800, Duplex, _4Sr44, _523, _531, _15V0, _22V5, _30V0, _45V0, _67V5, J, Cr123A, Cr2, _2Cr5, CrP2, CrV3, Sr41, Sr43, Sr44, Sr45, Sr48, Sr54, Sr55, Sr57, Sr58, Sr59, Sr60, Sr63, Sr64, Sr65, Sr66, Sr67, Sr68, Sr69, Sr516, Sr731, Sr712, Lr932, A5, A10, A13, A312, A675, Ac41E, _10180, _10280, _10440, _14250, _14430, _14500, _14650, _15270, _16340, Rcr123A, _17500, _17670, _18350, _18500, _18650, _19670, _25500, _26650, _32600, Unknown(u16),
}
Expand description

BatCommonDesignationEnum (enum16).

Variants§

§

Unspecified

Unspecified = 0.

§

Aaa

Aaa = 1.

§

Aa

Aa = 2.

§

C

C = 3.

§

D

D = 4.

§

_4V5

4V5 = 5.

§

_6V0

6V0 = 6.

§

_9V0

9V0 = 7.

§

_12Aa

12Aa = 8.

§

Aaaa

Aaaa = 9.

§

A

A = 10.

§

B

B = 11.

§

F

F = 12.

§

N

N = 13.

§

No6

No6 = 14.

§

SubC

SubC = 15.

§

A23

A23 = 16.

§

A27

A27 = 17.

§

Ba5800

Ba5800 = 18.

§

Duplex

Duplex = 19.

§

_4Sr44

4Sr44 = 20.

§

_523

523 = 21.

§

_531

531 = 22.

§

_15V0

15V0 = 23.

§

_22V5

22V5 = 24.

§

_30V0

30V0 = 25.

§

_45V0

45V0 = 26.

§

_67V5

67V5 = 27.

§

J

J = 28.

§

Cr123A

Cr123A = 29.

§

Cr2

Cr2 = 30.

§

_2Cr5

2Cr5 = 31.

§

CrP2

CrP2 = 32.

§

CrV3

CrV3 = 33.

§

Sr41

Sr41 = 34.

§

Sr43

Sr43 = 35.

§

Sr44

Sr44 = 36.

§

Sr45

Sr45 = 37.

§

Sr48

Sr48 = 38.

§

Sr54

Sr54 = 39.

§

Sr55

Sr55 = 40.

§

Sr57

Sr57 = 41.

§

Sr58

Sr58 = 42.

§

Sr59

Sr59 = 43.

§

Sr60

Sr60 = 44.

§

Sr63

Sr63 = 45.

§

Sr64

Sr64 = 46.

§

Sr65

Sr65 = 47.

§

Sr66

Sr66 = 48.

§

Sr67

Sr67 = 49.

§

Sr68

Sr68 = 50.

§

Sr69

Sr69 = 51.

§

Sr516

Sr516 = 52.

§

Sr731

Sr731 = 53.

§

Sr712

Sr712 = 54.

§

Lr932

Lr932 = 55.

§

A5

A5 = 56.

§

A10

A10 = 57.

§

A13

A13 = 58.

§

A312

A312 = 59.

§

A675

A675 = 60.

§

Ac41E

Ac41E = 61.

§

_10180

10180 = 62.

§

_10280

10280 = 63.

§

_10440

10440 = 64.

§

_14250

14250 = 65.

§

_14430

14430 = 66.

§

_14500

14500 = 67.

§

_14650

14650 = 68.

§

_15270

15270 = 69.

§

_16340

16340 = 70.

§

Rcr123A

Rcr123A = 71.

§

_17500

17500 = 72.

§

_17670

17670 = 73.

§

_18350

18350 = 74.

§

_18500

18500 = 75.

§

_18650

18650 = 76.

§

_19670

19670 = 77.

§

_25500

25500 = 78.

§

_26650

26650 = 79.

§

_32600

32600 = 80.

§

Unknown(u16)

A value not known to this codegen revision.

Implementations§

Source§

impl BatCommonDesignationEnum

Source

pub fn from_raw(v: u16) -> Self

Decode from its raw discriminant (unknown → Unknown).

Source

pub fn to_raw(self) -> u16

The raw discriminant.

Trait Implementations§

Source§

impl Clone for BatCommonDesignationEnum

Source§

fn clone(&self) -> BatCommonDesignationEnum

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for BatCommonDesignationEnum

Source§

impl Debug for BatCommonDesignationEnum

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for BatCommonDesignationEnum

Source§

impl PartialEq for BatCommonDesignationEnum

Source§

fn eq(&self, other: &BatCommonDesignationEnum) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for BatCommonDesignationEnum

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.