pub enum ControllerIndex {
ControllerId(u16),
NonController,
}
Expand description
Controller Index
Variants§
Implementations§
Source§impl ControllerIndex
impl ControllerIndex
Sourcepub fn is_non(&self) -> bool
pub fn is_non(&self) -> bool
true if Self::NonController
Trait Implementations§
Source§impl Clone for ControllerIndex
impl Clone for ControllerIndex
Source§fn clone(&self) -> ControllerIndex
fn clone(&self) -> ControllerIndex
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 ControllerIndex
impl Debug for ControllerIndex
Source§impl Extend<ControllerIndex> for ReadControllerIndexListReply
impl Extend<ControllerIndex> for ReadControllerIndexListReply
Source§fn extend<T789979AD04B840B9BCA2350BD2215CBC>(
&mut self,
iter: T789979AD04B840B9BCA2350BD2215CBC,
)where
T789979AD04B840B9BCA2350BD2215CBC: IntoIterator<Item = ControllerIndex>,
fn extend<T789979AD04B840B9BCA2350BD2215CBC>(
&mut self,
iter: T789979AD04B840B9BCA2350BD2215CBC,
)where
T789979AD04B840B9BCA2350BD2215CBC: IntoIterator<Item = ControllerIndex>,
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl Extend<ControllerIndex> for ReadUnconfiguredControllerIndexListReply
impl Extend<ControllerIndex> for ReadUnconfiguredControllerIndexListReply
Source§fn extend<T789979AD04B840B9BCA2350BD2215CBC>(
&mut self,
iter: T789979AD04B840B9BCA2350BD2215CBC,
)where
T789979AD04B840B9BCA2350BD2215CBC: IntoIterator<Item = ControllerIndex>,
fn extend<T789979AD04B840B9BCA2350BD2215CBC>(
&mut self,
iter: T789979AD04B840B9BCA2350BD2215CBC,
)where
T789979AD04B840B9BCA2350BD2215CBC: IntoIterator<Item = ControllerIndex>,
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl From<ControllerIndex> for u16
impl From<ControllerIndex> for u16
Source§fn from(v: ControllerIndex) -> Self
fn from(v: ControllerIndex) -> Self
Converts to this type from the input type.
Source§impl From<u16> for ControllerIndex
impl From<u16> for ControllerIndex
Source§impl FromIterator<ControllerIndex> for ReadControllerIndexListReply
impl FromIterator<ControllerIndex> for ReadControllerIndexListReply
Source§fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70,
) -> Selfwhere
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = ControllerIndex>,
fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70,
) -> Selfwhere
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = ControllerIndex>,
Creates a value from an iterator. Read more
Source§impl FromIterator<ControllerIndex> for ReadUnconfiguredControllerIndexListReply
impl FromIterator<ControllerIndex> for ReadUnconfiguredControllerIndexListReply
Source§fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70,
) -> Selfwhere
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = ControllerIndex>,
fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70,
) -> Selfwhere
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = ControllerIndex>,
Creates a value from an iterator. Read more
Source§impl Hash for ControllerIndex
impl Hash for ControllerIndex
Source§impl Pack for ControllerIndex
impl Pack for ControllerIndex
Source§impl PartialEq for ControllerIndex
impl PartialEq for ControllerIndex
Source§impl Unpack for ControllerIndex
impl Unpack for ControllerIndex
impl Eq for ControllerIndex
impl StructuralPartialEq for ControllerIndex
Auto Trait Implementations§
impl Freeze for ControllerIndex
impl RefUnwindSafe for ControllerIndex
impl Send for ControllerIndex
impl Sync for ControllerIndex
impl Unpin for ControllerIndex
impl UnwindSafe for ControllerIndex
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