pub struct TS(/* private fields */);Expand description
[docs.microsoft.com] D3DTRANSFORMSTATETYPE
Defines constants that describe transformation state values.
Implementations§
Source§impl TS
impl TS
Sourcepub const fn from_unchecked(d3d: D3DTRANSFORMSTATETYPE) -> Self
pub const fn from_unchecked(d3d: D3DTRANSFORMSTATETYPE) -> Self
Convert from an underlying winapi D3D... type.
This is probably safe… probably…
Sourcepub const fn into(self) -> D3DTRANSFORMSTATETYPE
pub const fn into(self) -> D3DTRANSFORMSTATETYPE
Convert back into an underlying winapi D3D... type.
Source§impl TransformStateType
impl TransformStateType
pub const View: TransformStateType
pub const Projection: TransformStateType
pub const Texture0: TransformStateType
pub const Texture1: TransformStateType
pub const Texture2: TransformStateType
pub const Texture3: TransformStateType
pub const Texture4: TransformStateType
pub const Texture5: TransformStateType
pub const Texture6: TransformStateType
pub const Texture7: TransformStateType
pub const World: TransformStateType
pub const World1: TransformStateType
pub const World2: TransformStateType
pub const World3: TransformStateType
Source§impl TransformStateType
impl TransformStateType
Sourcepub const fn world_matrix(index: u8) -> TransformStateType
pub const fn world_matrix(index: u8) -> TransformStateType
[docs.microsoft.com] D3DTS_WORLDMATRIX
Trait Implementations§
Source§impl Clone for TransformStateType
impl Clone for TransformStateType
Source§fn clone(&self) -> TransformStateType
fn clone(&self) -> TransformStateType
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 Hash for TransformStateType
impl Hash for TransformStateType
Source§impl Ord for TransformStateType
impl Ord for TransformStateType
Source§fn cmp(&self, other: &TransformStateType) -> Ordering
fn cmp(&self, other: &TransformStateType) -> 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 TransformStateType
impl PartialEq for TransformStateType
Source§impl PartialOrd for TransformStateType
impl PartialOrd for TransformStateType
impl Copy for TransformStateType
impl Eq for TransformStateType
impl StructuralPartialEq for TransformStateType
Auto Trait Implementations§
impl Freeze for TransformStateType
impl RefUnwindSafe for TransformStateType
impl Send for TransformStateType
impl Sync for TransformStateType
impl Unpin for TransformStateType
impl UnwindSafe for TransformStateType
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