Enum steamworks_sys::EItemPreviewType
source · #[non_exhaustive]#[repr(i32)]pub enum EItemPreviewType {
k_EItemPreviewType_Image = 0,
k_EItemPreviewType_YouTubeVideo = 1,
k_EItemPreviewType_Sketchfab = 2,
k_EItemPreviewType_EnvironmentMap_HorizontalCross = 3,
k_EItemPreviewType_EnvironmentMap_LatLong = 4,
k_EItemPreviewType_ReservedMax = 255,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
k_EItemPreviewType_Image = 0
k_EItemPreviewType_YouTubeVideo = 1
k_EItemPreviewType_Sketchfab = 2
k_EItemPreviewType_EnvironmentMap_HorizontalCross = 3
k_EItemPreviewType_EnvironmentMap_LatLong = 4
k_EItemPreviewType_ReservedMax = 255
Trait Implementations§
source§impl Clone for EItemPreviewType
impl Clone for EItemPreviewType
source§fn clone(&self) -> EItemPreviewType
fn clone(&self) -> EItemPreviewType
Returns a copy 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 EItemPreviewType
impl Debug for EItemPreviewType
source§impl Hash for EItemPreviewType
impl Hash for EItemPreviewType
source§impl PartialEq for EItemPreviewType
impl PartialEq for EItemPreviewType
source§fn eq(&self, other: &EItemPreviewType) -> bool
fn eq(&self, other: &EItemPreviewType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EItemPreviewType
impl Eq for EItemPreviewType
impl StructuralPartialEq for EItemPreviewType
Auto Trait Implementations§
impl RefUnwindSafe for EItemPreviewType
impl Send for EItemPreviewType
impl Sync for EItemPreviewType
impl Unpin for EItemPreviewType
impl UnwindSafe for EItemPreviewType
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