#[repr(transparent)]pub struct SDL_PathType(pub c_uint);Expand description
Types of filesystem entries.
Note that there may be other sorts of items on a filesystem: devices, named pipes, etc. They are currently reported as SDL_PATHTYPE_OTHER.
Available Since: This enum is available since SDL 3.2.0.
See Also: SDL_PathInfo
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_PathType
impl SDL_PathType
Sourcepub const SDL_PATHTYPE_NONE: SDL_PathType
pub const SDL_PATHTYPE_NONE: SDL_PathType
< path does not exist
Sourcepub const SDL_PATHTYPE_FILE: SDL_PathType
pub const SDL_PATHTYPE_FILE: SDL_PathType
< a normal file
Sourcepub const SDL_PATHTYPE_DIRECTORY: SDL_PathType
pub const SDL_PATHTYPE_DIRECTORY: SDL_PathType
< a directory
Sourcepub const SDL_PATHTYPE_OTHER: SDL_PathType
pub const SDL_PATHTYPE_OTHER: SDL_PathType
< something completely different like a device node (not a symlink, those are always followed)
Trait Implementations§
Source§impl Clone for SDL_PathType
impl Clone for SDL_PathType
Source§fn clone(&self) -> SDL_PathType
fn clone(&self) -> SDL_PathType
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_PathType
impl Debug for SDL_PathType
Source§impl Hash for SDL_PathType
impl Hash for SDL_PathType
Source§impl PartialEq for SDL_PathType
impl PartialEq for SDL_PathType
impl Copy for SDL_PathType
impl Eq for SDL_PathType
impl StructuralPartialEq for SDL_PathType
Auto Trait Implementations§
impl Freeze for SDL_PathType
impl RefUnwindSafe for SDL_PathType
impl Send for SDL_PathType
impl Sync for SDL_PathType
impl Unpin for SDL_PathType
impl UnsafeUnpin for SDL_PathType
impl UnwindSafe for SDL_PathType
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