Enum Pin
#[repr(u32)]pub enum Pin {
Show 48 variants
P0_00 = 0,
P0_01 = 1,
P0_02 = 2,
P0_03 = 3,
P0_04 = 4,
P0_05 = 5,
P0_06 = 6,
P0_07 = 7,
P0_08 = 8,
P0_09 = 9,
P0_10 = 10,
P0_11 = 11,
P0_12 = 12,
P0_13 = 13,
P0_14 = 14,
P0_15 = 15,
P0_16 = 16,
P0_17 = 17,
P0_18 = 18,
P0_19 = 19,
P0_20 = 20,
P0_21 = 21,
P0_22 = 22,
P0_23 = 23,
P0_24 = 24,
P0_25 = 25,
P0_26 = 26,
P0_27 = 27,
P0_28 = 28,
P0_29 = 29,
P0_30 = 30,
P0_31 = 31,
P1_00 = 32,
P1_01 = 33,
P1_02 = 34,
P1_03 = 35,
P1_04 = 36,
P1_05 = 37,
P1_06 = 38,
P1_07 = 39,
P1_08 = 40,
P1_09 = 41,
P1_10 = 42,
P1_11 = 43,
P1_12 = 44,
P1_13 = 45,
P1_14 = 46,
P1_15 = 47,
}Variants§
P0_00 = 0
P0_01 = 1
P0_02 = 2
P0_03 = 3
P0_04 = 4
P0_05 = 5
P0_06 = 6
P0_07 = 7
P0_08 = 8
P0_09 = 9
P0_10 = 10
P0_11 = 11
P0_12 = 12
P0_13 = 13
P0_14 = 14
P0_15 = 15
P0_16 = 16
P0_17 = 17
P0_18 = 18
P0_19 = 19
P0_20 = 20
P0_21 = 21
P0_22 = 22
P0_23 = 23
P0_24 = 24
P0_25 = 25
P0_26 = 26
P0_27 = 27
P0_28 = 28
P0_29 = 29
P0_30 = 30
P0_31 = 31
P1_00 = 32
P1_01 = 33
P1_02 = 34
P1_03 = 35
P1_04 = 36
P1_05 = 37
P1_06 = 38
P1_07 = 39
P1_08 = 40
P1_09 = 41
P1_10 = 42
P1_11 = 43
P1_12 = 44
P1_13 = 45
P1_14 = 46
P1_15 = 47
Trait Implementations§
impl Copy for Pin
§impl FromPrimitive for Pin
impl FromPrimitive for Pin
§fn from_i64(n: i64) -> Option<Pin>
fn from_i64(n: i64) -> Option<Pin>
Convert an
i64 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.§fn from_u64(n: u64) -> Option<Pin>
fn from_u64(n: u64) -> Option<Pin>
Convert an
u64 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Convert an
isize to return an optional value of this type. If the
value cannot be represented by this value, then None is returned.§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Convert an
i8 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Convert an
i16 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Convert an
i32 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Convert a
usize to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Convert an
u8 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.impl StructuralPartialEq for Pin
Auto Trait Implementations§
impl Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnsafeUnpin for Pin
impl UnwindSafe for Pin
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