[−][src]Enum gc_adapter::ControllerType
Type of controller connected (Disconnected, Normal, or Wavebird)
Variants
Trait Implementations
impl CheckDiscriminantInRange<[(); 0]> for ControllerType
[src]
impl CheckDiscriminantInRange<[(); 1]> for ControllerType
[src]
impl CheckDiscriminantInRange<[(); 2]> for ControllerType
[src]
impl CheckDiscriminantInRange<[(); 3]> for ControllerType
[src]
impl Debug for ControllerType
[src]
impl Default for ControllerType
[src]
impl Specifier for ControllerType
[src]
pub const BITS: usize
[src]
type Bytes = <[(); 2] as SpecifierBytes>::Bytes
The base type of the specifier. Read more
type InOut = Self
The interface type of the specifier. Read more
pub fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
[src]
pub fn from_bytes(
bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
[src]
bytes: Self::Bytes
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
Auto Trait Implementations
impl RefUnwindSafe for ControllerType
impl Send for ControllerType
impl Sync for ControllerType
impl Unpin for ControllerType
impl UnwindSafe for ControllerType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,