Uint8

Type Alias Uint8 

Source
pub type Uint8 = u8;
Expand description

An unsigned 8-bit integer type.

§Availability

This macro is available since SDL 3.2.0.

Trait Implementations§

Source§

impl From<SDL_GPUColorComponentFlags> for Uint8

Source§

fn from(value: SDL_GPUColorComponentFlags) -> Self

Converts to this type from the input type.
Source§

impl From<SDL_HapticDirectionType> for Uint8

Source§

fn from(value: SDL_HapticDirectionType) -> Self

Converts to this type from the input type.
Source§

impl PartialEq<SDL_GPUColorComponentFlags> for Uint8

Source§

fn eq(&self, other: &SDL_GPUColorComponentFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<SDL_HapticDirectionType> for Uint8

Source§

fn eq(&self, other: &SDL_HapticDirectionType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.