Struct thindx::d3d9::CubeMapFaces
source · [−]#[repr(transparent)]pub struct CubeMapFaces(_);
Expand description
[docs.microsoft.com] D3DCUBEMAP_FACES
Defines the face of a cubemap.
Implementations
sourceimpl CubeMapFace
impl CubeMapFace
sourcepub const fn from_unchecked(d3d: D3DCUBEMAP_FACES) -> Self
pub const fn from_unchecked(d3d: D3DCUBEMAP_FACES) -> Self
Convert from an underlying [winapi] D3D...
type.
This is probably safe… probably…
sourcepub const fn into_inner(self) -> D3DCUBEMAP_FACES
pub const fn into_inner(self) -> D3DCUBEMAP_FACES
Convert back into an underlying [winapi] D3D...
type.
sourceimpl CubeMapFace
impl CubeMapFace
pub const PositiveX: CubeMapFace = CubeMapFace(D3DCUBEMAP_FACE_POSITIVE_X)
pub const NegativeX: CubeMapFace = CubeMapFace(D3DCUBEMAP_FACE_NEGATIVE_X)
pub const PositiveY: CubeMapFace = CubeMapFace(D3DCUBEMAP_FACE_POSITIVE_Y)
pub const NegativeY: CubeMapFace = CubeMapFace(D3DCUBEMAP_FACE_NEGATIVE_Y)
pub const PositiveZ: CubeMapFace = CubeMapFace(D3DCUBEMAP_FACE_POSITIVE_Z)
pub const NegativeZ: CubeMapFace = CubeMapFace(D3DCUBEMAP_FACE_NEGATIVE_Z)
Trait Implementations
sourceimpl Clone for CubeMapFace
impl Clone for CubeMapFace
sourcefn clone(&self) -> CubeMapFace
fn clone(&self) -> CubeMapFace
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CubeMapFace
impl Debug for CubeMapFace
sourceimpl Default for CubeMapFace
impl Default for CubeMapFace
sourceimpl From<CubeMapFace> for D3DCUBEMAP_FACES
impl From<CubeMapFace> for D3DCUBEMAP_FACES
sourcefn from(value: CubeMapFace) -> Self
fn from(value: CubeMapFace) -> Self
Converts to this type from the input type.
sourceimpl Hash for CubeMapFace
impl Hash for CubeMapFace
sourceimpl Ord for CubeMapFace
impl Ord for CubeMapFace
sourceimpl PartialEq<CubeMapFace> for CubeMapFace
impl PartialEq<CubeMapFace> for CubeMapFace
sourcefn eq(&self, other: &CubeMapFace) -> bool
fn eq(&self, other: &CubeMapFace) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CubeMapFace) -> bool
fn ne(&self, other: &CubeMapFace) -> bool
This method tests for !=
.
sourceimpl PartialOrd<CubeMapFace> for CubeMapFace
impl PartialOrd<CubeMapFace> for CubeMapFace
sourcefn partial_cmp(&self, other: &CubeMapFace) -> Option<Ordering>
fn partial_cmp(&self, other: &CubeMapFace) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Zeroable for CubeMapFace
impl Zeroable for CubeMapFace
impl Copy for CubeMapFace
impl Eq for CubeMapFace
impl Pod for CubeMapFace
impl StructuralEq for CubeMapFace
impl StructuralPartialEq for CubeMapFace
Auto Trait Implementations
impl RefUnwindSafe for CubeMapFace
impl Send for CubeMapFace
impl Sync for CubeMapFace
impl Unpin for CubeMapFace
impl UnwindSafe for CubeMapFace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more