#[repr(transparent)]pub struct SDL_AsyncIOTaskType(pub c_int);Expand description
Types of asynchronous I/O tasks.
§Availability
This enum is available since SDL 3.2.0.
§Known values (sdl3-sys)
| Associated constant | Global constant | Description |
|---|---|---|
READ | SDL_ASYNCIO_TASK_READ | A read operation. |
WRITE | SDL_ASYNCIO_TASK_WRITE | A write operation. |
CLOSE | SDL_ASYNCIO_TASK_CLOSE | A close operation. |
Tuple Fields§
§0: c_intImplementations§
Trait Implementations§
Source§impl Clone for SDL_AsyncIOTaskType
impl Clone for SDL_AsyncIOTaskType
Source§fn clone(&self) -> SDL_AsyncIOTaskType
fn clone(&self) -> SDL_AsyncIOTaskType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SDL_AsyncIOTaskType
Available on crate feature debug-impls only.
impl Debug for SDL_AsyncIOTaskType
Available on crate feature
debug-impls only.Source§impl Default for SDL_AsyncIOTaskType
impl Default for SDL_AsyncIOTaskType
Source§fn default() -> SDL_AsyncIOTaskType
fn default() -> SDL_AsyncIOTaskType
Returns the “default value” for a type. Read more
Source§impl From<SDL_AsyncIOTaskType> for c_int
impl From<SDL_AsyncIOTaskType> for c_int
Source§fn from(value: SDL_AsyncIOTaskType) -> Self
fn from(value: SDL_AsyncIOTaskType) -> Self
Converts to this type from the input type.
Source§impl GroupMetadata for SDL_AsyncIOTaskType
Available on crate feature metadata only.
impl GroupMetadata for SDL_AsyncIOTaskType
Available on crate feature
metadata only.Source§const GROUP_METADATA: &'static Group
const GROUP_METADATA: &'static Group
Metadata for this group
Source§impl Hash for SDL_AsyncIOTaskType
impl Hash for SDL_AsyncIOTaskType
Source§impl Ord for SDL_AsyncIOTaskType
impl Ord for SDL_AsyncIOTaskType
Source§fn cmp(&self, other: &SDL_AsyncIOTaskType) -> Ordering
fn cmp(&self, other: &SDL_AsyncIOTaskType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<SDL_AsyncIOTaskType> for c_int
impl PartialEq<SDL_AsyncIOTaskType> for c_int
Source§impl PartialEq<i32> for SDL_AsyncIOTaskType
impl PartialEq<i32> for SDL_AsyncIOTaskType
Source§impl PartialEq for SDL_AsyncIOTaskType
impl PartialEq for SDL_AsyncIOTaskType
Source§impl PartialOrd for SDL_AsyncIOTaskType
impl PartialOrd for SDL_AsyncIOTaskType
impl Copy for SDL_AsyncIOTaskType
impl Eq for SDL_AsyncIOTaskType
impl StructuralPartialEq for SDL_AsyncIOTaskType
Auto Trait Implementations§
impl Freeze for SDL_AsyncIOTaskType
impl RefUnwindSafe for SDL_AsyncIOTaskType
impl Send for SDL_AsyncIOTaskType
impl Sync for SDL_AsyncIOTaskType
impl Unpin for SDL_AsyncIOTaskType
impl UnwindSafe for SDL_AsyncIOTaskType
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