Enum ndk::configuration::Keyboard
source · [−]#[repr(u32)]
pub enum Keyboard {
Any,
NoKeys,
Qwerty,
TwelveKey,
}
Variants
Any
NoKeys
Qwerty
TwelveKey
Trait Implementations
sourceimpl TryFrom<u32> for Keyboard
impl TryFrom<u32> for Keyboard
type Error = TryFromPrimitiveError<Keyboard>
type Error = TryFromPrimitiveError<Keyboard>
The type returned in the event of a conversion error.
sourcefn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for Keyboard
impl TryFromPrimitive for Keyboard
type Primitive = u32
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for Keyboard
impl Eq for Keyboard
impl StructuralEq for Keyboard
impl StructuralPartialEq for Keyboard
Auto Trait Implementations
impl RefUnwindSafe for Keyboard
impl Send for Keyboard
impl Sync for Keyboard
impl Unpin for Keyboard
impl UnwindSafe for Keyboard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more