#[repr(C)]pub struct SDL_PathInfo {
pub type_: SDL_PathType,
pub size: Uint64,
pub create_time: SDL_Time,
pub modify_time: SDL_Time,
pub access_time: SDL_Time,
}Expand description
Information about a path on the filesystem.
Available Since: This datatype is available since SDL 3.2.0.
See Also: SDL_PathType See Also: SDL_GetPathInfo See Also: SDL_GetStoragePathInfo
Fields§
§type_: SDL_PathType< the path type
size: Uint64< the file size in bytes
create_time: SDL_Time< the time when the path was created
modify_time: SDL_Time< the last time the path was modified
access_time: SDL_Time< the last time the path was read
Trait Implementations§
Source§impl Clone for SDL_PathInfo
impl Clone for SDL_PathInfo
Source§fn clone(&self) -> SDL_PathInfo
fn clone(&self) -> SDL_PathInfo
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_PathInfo
impl Debug for SDL_PathInfo
Source§impl Default for SDL_PathInfo
impl Default for SDL_PathInfo
Source§impl Hash for SDL_PathInfo
impl Hash for SDL_PathInfo
impl Copy for SDL_PathInfo
Auto Trait Implementations§
impl Freeze for SDL_PathInfo
impl RefUnwindSafe for SDL_PathInfo
impl Send for SDL_PathInfo
impl Sync for SDL_PathInfo
impl Unpin for SDL_PathInfo
impl UnsafeUnpin for SDL_PathInfo
impl UnwindSafe for SDL_PathInfo
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