pub struct Fog(/* private fields */);Expand description
[docs.microsoft.com] D3DFOGMODE
Defines constants that describe the fog mode.
Implementations§
Source§impl 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(self) -> D3DFOGMODE
pub const fn into(self) -> D3DFOGMODE
Convert back into an underlying winapi D3D... type.
Trait Implementations§
Source§impl From<FogMode> for D3DFOGMODE
impl From<FogMode> for D3DFOGMODE
Source§impl Ord for FogMode
impl Ord for FogMode
Source§impl PartialOrd for FogMode
impl PartialOrd for FogMode
impl Copy for FogMode
impl Eq for FogMode
impl StructuralPartialEq for FogMode
Auto Trait Implementations§
impl Freeze for FogMode
impl RefUnwindSafe for FogMode
impl Send for FogMode
impl Sync for FogMode
impl Unpin for FogMode
impl UnwindSafe for FogMode
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