pub enum ShifterType {
Arcade,
Automatic,
Manual,
HShifter,
}Expand description
Documented values of the shifter.type configuration attribute.
Variants§
Arcade
Simplified arcade transmission.
Automatic
Automatic transmission.
Manual
Manual transmission controlled without an H-shifter.
HShifter
Physical H-pattern shifter.
Implementations§
Source§impl ShifterType
impl ShifterType
Sourcepub const fn availability(self) -> GameSchemaAvailability
pub const fn availability(self) -> GameSchemaAvailability
First game schemas which provide the shifter-type configuration value.
pub const fn as_c_str(self) -> &'static CStr
pub fn from_c_str(value: &CStr) -> Option<Self>
Trait Implementations§
Source§impl Clone for ShifterType
impl Clone for ShifterType
Source§fn clone(&self) -> ShifterType
fn clone(&self) -> ShifterType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShifterType
Source§impl Debug for ShifterType
impl Debug for ShifterType
impl Eq for ShifterType
Source§impl FromStr for ShifterType
impl FromStr for ShifterType
Source§impl PartialEq for ShifterType
impl PartialEq for ShifterType
impl StructuralPartialEq for ShifterType
Auto Trait Implementations§
impl Freeze for ShifterType
impl RefUnwindSafe for ShifterType
impl Send for ShifterType
impl Sync for ShifterType
impl Unpin for ShifterType
impl UnsafeUnpin for ShifterType
impl UnwindSafe for ShifterType
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