#[repr(usize)]pub enum LinuxResourcesId {
Show 15 variants
Serial0 = 0,
Serial1 = 1,
Serial2 = 2,
Serial3 = 3,
Serial4 = 4,
Serial5 = 5,
I2c0 = 6,
I2c1 = 7,
I2c2 = 8,
GpioOut0 = 9,
GpioOut1 = 10,
GpioOut2 = 11,
GpioIn0 = 12,
GpioIn1 = 13,
GpioIn2 = 14,
}Variants§
Serial0 = 0
Serial1 = 1
Serial2 = 2
Serial3 = 3
Serial4 = 4
Serial5 = 5
I2c0 = 6
I2c1 = 7
I2c2 = 8
GpioOut0 = 9
GpioOut1 = 10
GpioOut2 = 11
GpioIn0 = 12
GpioIn1 = 13
GpioIn2 = 14
Trait Implementations§
Source§impl Clone for LinuxResourcesId
impl Clone for LinuxResourcesId
Source§fn clone(&self) -> LinuxResourcesId
fn clone(&self) -> LinuxResourcesId
Returns a duplicate 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 LinuxResourcesId
impl Debug for LinuxResourcesId
Source§impl PartialEq for LinuxResourcesId
impl PartialEq for LinuxResourcesId
Source§impl ResourceId for LinuxResourcesId
impl ResourceId for LinuxResourcesId
impl Copy for LinuxResourcesId
impl Eq for LinuxResourcesId
impl StructuralPartialEq for LinuxResourcesId
Auto Trait Implementations§
impl Freeze for LinuxResourcesId
impl RefUnwindSafe for LinuxResourcesId
impl Send for LinuxResourcesId
impl Sync for LinuxResourcesId
impl Unpin for LinuxResourcesId
impl UnwindSafe for LinuxResourcesId
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more