#[repr(transparent)]pub struct SDL_FileDialogType(pub c_int);Expand description
Various types of file dialogs.
This is used by SDL_ShowFileDialogWithProperties() to decide what kind of
dialog to present to the user.
§Availability
This enum is available since SDL 3.2.0.
§See also
§Known values (sdl3-sys)
| Associated constant | Global constant | Description |
|---|---|---|
OPENFILE | SDL_FILEDIALOG_OPENFILE | |
SAVEFILE | SDL_FILEDIALOG_SAVEFILE | |
OPENFOLDER | SDL_FILEDIALOG_OPENFOLDER |
Tuple Fields§
§0: c_intImplementations§
Trait Implementations§
Source§impl Clone for SDL_FileDialogType
impl Clone for SDL_FileDialogType
Source§fn clone(&self) -> SDL_FileDialogType
fn clone(&self) -> SDL_FileDialogType
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_FileDialogType
Available on crate feature debug-impls only.
impl Debug for SDL_FileDialogType
Available on crate feature
debug-impls only.Source§impl Default for SDL_FileDialogType
impl Default for SDL_FileDialogType
Source§fn default() -> SDL_FileDialogType
fn default() -> SDL_FileDialogType
Returns the “default value” for a type. Read more
Source§impl From<SDL_FileDialogType> for c_int
impl From<SDL_FileDialogType> for c_int
Source§fn from(value: SDL_FileDialogType) -> Self
fn from(value: SDL_FileDialogType) -> Self
Converts to this type from the input type.
Source§impl GroupMetadata for SDL_FileDialogType
Available on crate feature metadata only.
impl GroupMetadata for SDL_FileDialogType
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_FileDialogType
impl Hash for SDL_FileDialogType
Source§impl Ord for SDL_FileDialogType
impl Ord for SDL_FileDialogType
Source§fn cmp(&self, other: &SDL_FileDialogType) -> Ordering
fn cmp(&self, other: &SDL_FileDialogType) -> 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_FileDialogType> for c_int
impl PartialEq<SDL_FileDialogType> for c_int
Source§impl PartialEq<i32> for SDL_FileDialogType
impl PartialEq<i32> for SDL_FileDialogType
Source§impl PartialEq for SDL_FileDialogType
impl PartialEq for SDL_FileDialogType
Source§impl PartialOrd for SDL_FileDialogType
impl PartialOrd for SDL_FileDialogType
impl Copy for SDL_FileDialogType
impl Eq for SDL_FileDialogType
impl StructuralPartialEq for SDL_FileDialogType
Auto Trait Implementations§
impl Freeze for SDL_FileDialogType
impl RefUnwindSafe for SDL_FileDialogType
impl Send for SDL_FileDialogType
impl Sync for SDL_FileDialogType
impl Unpin for SDL_FileDialogType
impl UnwindSafe for SDL_FileDialogType
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