pub struct ZBufferType(/* private fields */);Expand description
[docs.microsoft.com] D3DZBUFFERTYPE
Implementations§
Source§impl ZB
impl ZB
Sourcepub const fn from_unchecked(d3d: D3DZBUFFERTYPE) -> Self
pub const fn from_unchecked(d3d: D3DZBUFFERTYPE) -> Self
Convert from an underlying winapi D3D... type.
This is probably safe… probably…
Sourcepub const fn into(self) -> D3DZBUFFERTYPE
pub const fn into(self) -> D3DZBUFFERTYPE
Convert back into an underlying winapi D3D... type.
Source§impl ZBufferType
impl ZBufferType
pub const False: ZBufferType
pub const True: ZBufferType
pub const UseW: ZBufferType
Trait Implementations§
Source§impl Clone for ZBufferType
impl Clone for ZBufferType
Source§fn clone(&self) -> ZBufferType
fn clone(&self) -> ZBufferType
Returns a duplicate 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 Default for ZBufferType
impl Default for ZBufferType
Source§impl From<ZBufferType> for D3DZBUFFERTYPE
impl From<ZBufferType> for D3DZBUFFERTYPE
Source§impl Hash for ZBufferType
impl Hash for ZBufferType
Source§impl Ord for ZBufferType
impl Ord for ZBufferType
Source§fn cmp(&self, other: &ZBufferType) -> Ordering
fn cmp(&self, other: &ZBufferType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ZBufferType
impl PartialEq for ZBufferType
Source§impl PartialOrd for ZBufferType
impl PartialOrd for ZBufferType
impl Copy for ZBufferType
impl Eq for ZBufferType
impl StructuralPartialEq for ZBufferType
Auto Trait Implementations§
impl Freeze for ZBufferType
impl RefUnwindSafe for ZBufferType
impl Send for ZBufferType
impl Sync for ZBufferType
impl Unpin for ZBufferType
impl UnwindSafe for ZBufferType
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