Enum ddsfile::D3D10ResourceDimension
source · pub enum D3D10ResourceDimension {
Unknown = 0,
Buffer = 1,
Texture1D = 2,
Texture2D = 3,
Texture3D = 4,
}
Variants§
Trait Implementations§
source§impl Clone for D3D10ResourceDimension
impl Clone for D3D10ResourceDimension
source§fn clone(&self) -> D3D10ResourceDimension
fn clone(&self) -> D3D10ResourceDimension
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 D3D10ResourceDimension
impl Debug for D3D10ResourceDimension
source§impl FromPrimitive for D3D10ResourceDimension
impl FromPrimitive for D3D10ResourceDimension
source§fn from_u64(val: u64) -> Option<Self>
fn from_u64(val: u64) -> Option<Self>
Convert an
u64
to return an optional value of this type. If the
type cannot be represented by this value, then None
is returned.source§fn from_i64(val: i64) -> Option<Self>
fn from_i64(val: i64) -> Option<Self>
Convert an
i64
to return an optional value of this type. If the
type cannot be represented by this value, then None
is returned.source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Convert an
isize
to return an optional value of this type. If the
value cannot be represented by this value, then None
is returned.source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Convert an
i8
to return an optional value of this type. If the
type cannot be represented by this value, then None
is returned.source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Convert an
i16
to return an optional value of this type. If the
type cannot be represented by this value, then None
is returned.source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Convert an
i32
to return an optional value of this type. If the
type cannot be represented by this value, then None
is returned.source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Convert an
i128
to return an optional value of this type. If the
type cannot be represented by this value, then None
is returned. Read moresource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Convert a
usize
to return an optional value of this type. If the
type cannot be represented by this value, then None
is returned.source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Convert an
u8
to return an optional value of this type. If the
type cannot be represented by this value, then None
is returned.source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Convert an
u16
to return an optional value of this type. If the
type cannot be represented by this value, then None
is returned.source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Convert an
u32
to return an optional value of this type. If the
type cannot be represented by this value, then None
is returned.source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Convert an
u128
to return an optional value of this type. If the
type cannot be represented by this value, then None
is returned. Read moresource§impl Hash for D3D10ResourceDimension
impl Hash for D3D10ResourceDimension
source§impl PartialEq for D3D10ResourceDimension
impl PartialEq for D3D10ResourceDimension
source§fn eq(&self, other: &D3D10ResourceDimension) -> bool
fn eq(&self, other: &D3D10ResourceDimension) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToPrimitive for D3D10ResourceDimension
impl ToPrimitive for D3D10ResourceDimension
source§impl TryFrom<i16> for D3D10ResourceDimension
impl TryFrom<i16> for D3D10ResourceDimension
source§impl TryFrom<i32> for D3D10ResourceDimension
impl TryFrom<i32> for D3D10ResourceDimension
source§impl TryFrom<i64> for D3D10ResourceDimension
impl TryFrom<i64> for D3D10ResourceDimension
source§impl TryFrom<i8> for D3D10ResourceDimension
impl TryFrom<i8> for D3D10ResourceDimension
source§impl TryFrom<u16> for D3D10ResourceDimension
impl TryFrom<u16> for D3D10ResourceDimension
source§impl TryFrom<u32> for D3D10ResourceDimension
impl TryFrom<u32> for D3D10ResourceDimension
source§impl TryFrom<u64> for D3D10ResourceDimension
impl TryFrom<u64> for D3D10ResourceDimension
source§impl TryFrom<u8> for D3D10ResourceDimension
impl TryFrom<u8> for D3D10ResourceDimension
impl Copy for D3D10ResourceDimension
impl Eq for D3D10ResourceDimension
impl StructuralEq for D3D10ResourceDimension
impl StructuralPartialEq for D3D10ResourceDimension
Auto Trait Implementations§
impl RefUnwindSafe for D3D10ResourceDimension
impl Send for D3D10ResourceDimension
impl Sync for D3D10ResourceDimension
impl Unpin for D3D10ResourceDimension
impl UnwindSafe for D3D10ResourceDimension
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