#[repr(transparent)]pub struct SDL_IOWhence(pub c_uint);Expand description
Possible whence values for SDL_IOStream seeking.
These map to the same “whence” concept that fseek or lseek use in the
standard C runtime.
Available Since: This enum is available since SDL 3.2.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_IOWhence
impl SDL_IOWhence
Sourcepub const SDL_IO_SEEK_SET: SDL_IOWhence
pub const SDL_IO_SEEK_SET: SDL_IOWhence
< Seek from the beginning of data
Sourcepub const SDL_IO_SEEK_CUR: SDL_IOWhence
pub const SDL_IO_SEEK_CUR: SDL_IOWhence
< Seek relative to current read point
Sourcepub const SDL_IO_SEEK_END: SDL_IOWhence
pub const SDL_IO_SEEK_END: SDL_IOWhence
< Seek relative to the end of data
Trait Implementations§
Source§impl Clone for SDL_IOWhence
impl Clone for SDL_IOWhence
Source§fn clone(&self) -> SDL_IOWhence
fn clone(&self) -> SDL_IOWhence
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_IOWhence
impl Debug for SDL_IOWhence
Source§impl Hash for SDL_IOWhence
impl Hash for SDL_IOWhence
Source§impl PartialEq for SDL_IOWhence
impl PartialEq for SDL_IOWhence
impl Copy for SDL_IOWhence
impl Eq for SDL_IOWhence
impl StructuralPartialEq for SDL_IOWhence
Auto Trait Implementations§
impl Freeze for SDL_IOWhence
impl RefUnwindSafe for SDL_IOWhence
impl Send for SDL_IOWhence
impl Sync for SDL_IOWhence
impl Unpin for SDL_IOWhence
impl UnsafeUnpin for SDL_IOWhence
impl UnwindSafe for SDL_IOWhence
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