#[repr(transparent)]pub struct FogMode(_);
Expand description
[docs.microsoft.com] D3DFOGMODE
Defines constants that describe the fog mode.
Implementations
sourceimpl Fog
impl Fog
sourcepub const fn from_unchecked(d3d: D3DFOGMODE) -> Self
pub const fn from_unchecked(d3d: D3DFOGMODE) -> Self
Convert from an underlying [winapi] D3D...
type.
This is probably safe… probably…
sourcepub const fn into_inner(self) -> D3DFOGMODE
pub const fn into_inner(self) -> D3DFOGMODE
Convert back into an underlying [winapi] D3D...
type.
Trait Implementations
sourceimpl Ord for FogMode
impl Ord for FogMode
sourceimpl PartialOrd<FogMode> for FogMode
impl PartialOrd<FogMode> for FogMode
sourcefn partial_cmp(&self, other: &FogMode) -> Option<Ordering>
fn partial_cmp(&self, other: &FogMode) -> 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
impl Copy for FogMode
impl Eq for FogMode
impl Pod for FogMode
impl StructuralEq for FogMode
impl StructuralPartialEq for FogMode
Auto Trait Implementations
impl RefUnwindSafe for FogMode
impl Send for FogMode
impl Sync for FogMode
impl Unpin for FogMode
impl UnwindSafe for FogMode
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