Enum btmgmt_packet::ControllerIndex [−][src]
pub enum ControllerIndex {
ControllerId(u16),
NonController,
}
Expand description
Controller Index
Variants
ControllerId(u16)
Tuple Fields
0: u16
Controller index
NonController
Not related to any controller
Implementations
true if Self::NonController
Trait Implementations
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
extend_one
)Extends a collection with exactly one element.
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
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
extend_one
)Extends a collection with exactly one element.
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Performs the conversion.
fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70
) -> Self where
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = ControllerIndex>,
fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70
) -> Self where
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = ControllerIndex>,
Creates a value from an iterator. Read more
fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70
) -> Self where
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = ControllerIndex>,
fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70
) -> Self where
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = ControllerIndex>,
Creates a value from an iterator. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ControllerIndex
impl Send for ControllerIndex
impl Sync for ControllerIndex
impl Unpin for ControllerIndex
impl UnwindSafe for ControllerIndex
Blanket Implementations
Mutably borrows from an owned value. Read more