#[repr(i32)]pub enum ETextureType {
TextureType_Invalid = -1,
TextureType_DirectX = 0,
TextureType_OpenGL = 1,
TextureType_Vulkan = 2,
TextureType_IOSurface = 3,
TextureType_DirectX12 = 4,
TextureType_DXGISharedHandle = 5,
TextureType_Metal = 6,
}Variants§
TextureType_Invalid = -1
TextureType_DirectX = 0
TextureType_OpenGL = 1
TextureType_Vulkan = 2
TextureType_IOSurface = 3
TextureType_DirectX12 = 4
TextureType_Metal = 6
Trait Implementations§
Source§impl Clone for ETextureType
impl Clone for ETextureType
Source§fn clone(&self) -> ETextureType
fn clone(&self) -> ETextureType
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 ExternType for ETextureType
impl ExternType for ETextureType
Source§impl Hash for ETextureType
impl Hash for ETextureType
Source§impl PartialEq for ETextureType
impl PartialEq for ETextureType
impl Eq for ETextureType
impl StructuralPartialEq for ETextureType
impl UniquePtrTarget for ETextureType
impl VectorElement for ETextureType
impl WeakPtrTarget for ETextureType
Auto Trait Implementations§
impl Freeze for ETextureType
impl RefUnwindSafe for ETextureType
impl Send for ETextureType
impl Sync for ETextureType
impl Unpin for ETextureType
impl UnwindSafe for ETextureType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.