pub struct TessellatorOutputPrimitive(/* private fields */);Expand description
[docs.microsoft.com] D3D_TESSELLATOR_OUTPUT_PRIMITIVE
Implementations§
Source§impl TessellatorOutputPrimitive
impl TessellatorOutputPrimitive
Sourcepub const fn from_unchecked(d3d: D3D_TESSELLATOR_OUTPUT_PRIMITIVE) -> Self
pub const fn from_unchecked(d3d: D3D_TESSELLATOR_OUTPUT_PRIMITIVE) -> Self
Convert from an underlying winapi D3D... type.
This is probably safe… probably…
Sourcepub const fn into(self) -> D3D_TESSELLATOR_OUTPUT_PRIMITIVE
pub const fn into(self) -> D3D_TESSELLATOR_OUTPUT_PRIMITIVE
Convert back into an underlying winapi D3D... type.
Source§impl TessellatorOutputPrimitive
impl TessellatorOutputPrimitive
pub const Undefined: TessellatorOutput
pub const Point: TessellatorOutput
pub const Line: TessellatorOutput
pub const TriangleCW: TessellatorOutput
pub const TriangleCCW: TessellatorOutput
Trait Implementations§
Source§impl Clone for TessellatorOutputPrimitive
impl Clone for TessellatorOutputPrimitive
Source§fn clone(&self) -> TessellatorOutputPrimitive
fn clone(&self) -> TessellatorOutputPrimitive
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 Debug for TessellatorOutputPrimitive
impl Debug for TessellatorOutputPrimitive
Source§impl Default for TessellatorOutputPrimitive
impl Default for TessellatorOutputPrimitive
Source§impl From<TessellatorOutputPrimitive> for D3D_TESSELLATOR_OUTPUT_PRIMITIVE
impl From<TessellatorOutputPrimitive> for D3D_TESSELLATOR_OUTPUT_PRIMITIVE
Source§fn from(value: TessellatorOutput) -> Self
fn from(value: TessellatorOutput) -> Self
Converts to this type from the input type.
Source§impl Hash for TessellatorOutputPrimitive
impl Hash for TessellatorOutputPrimitive
Source§impl Ord for TessellatorOutputPrimitive
impl Ord for TessellatorOutputPrimitive
Source§fn cmp(&self, other: &TessellatorOutputPrimitive) -> Ordering
fn cmp(&self, other: &TessellatorOutputPrimitive) -> 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 PartialOrd for TessellatorOutputPrimitive
impl PartialOrd for TessellatorOutputPrimitive
impl Copy for TessellatorOutputPrimitive
impl Eq for TessellatorOutputPrimitive
impl StructuralPartialEq for TessellatorOutputPrimitive
Auto Trait Implementations§
impl Freeze for TessellatorOutputPrimitive
impl RefUnwindSafe for TessellatorOutputPrimitive
impl Send for TessellatorOutputPrimitive
impl Sync for TessellatorOutputPrimitive
impl Unpin for TessellatorOutputPrimitive
impl UnwindSafe for TessellatorOutputPrimitive
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