#[repr(transparent)]pub struct SDL_WindowID(pub Uint32);Expand description
This is a unique ID for a window.
The value 0 is an invalid ID.
§Availability
This datatype is available since SDL 3.2.0.
Tuple Fields§
§0: Uint32Trait Implementations§
Source§impl Clone for SDL_WindowID
impl Clone for SDL_WindowID
Source§fn clone(&self) -> SDL_WindowID
fn clone(&self) -> SDL_WindowID
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_WindowID
impl Debug for SDL_WindowID
Source§impl Default for SDL_WindowID
impl Default for SDL_WindowID
Source§fn default() -> SDL_WindowID
fn default() -> SDL_WindowID
Returns the “default value” for a type. Read more
Source§impl From<SDL_WindowID> for Uint32
impl From<SDL_WindowID> for Uint32
Source§fn from(value: SDL_WindowID) -> Self
fn from(value: SDL_WindowID) -> Self
Converts to this type from the input type.
Source§impl GroupMetadata for SDL_WindowID
Available on crate feature metadata only.
impl GroupMetadata for SDL_WindowID
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_WindowID
impl Hash for SDL_WindowID
Source§impl Ord for SDL_WindowID
impl Ord for SDL_WindowID
Source§fn cmp(&self, other: &SDL_WindowID) -> Ordering
fn cmp(&self, other: &SDL_WindowID) -> 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_WindowID> for Uint32
impl PartialEq<SDL_WindowID> for Uint32
Source§impl PartialEq<u32> for SDL_WindowID
impl PartialEq<u32> for SDL_WindowID
Source§impl PartialEq for SDL_WindowID
impl PartialEq for SDL_WindowID
Source§impl PartialOrd for SDL_WindowID
impl PartialOrd for SDL_WindowID
impl Copy for SDL_WindowID
impl Eq for SDL_WindowID
impl StructuralPartialEq for SDL_WindowID
Auto Trait Implementations§
impl Freeze for SDL_WindowID
impl RefUnwindSafe for SDL_WindowID
impl Send for SDL_WindowID
impl Sync for SDL_WindowID
impl Unpin for SDL_WindowID
impl UnwindSafe for SDL_WindowID
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