Struct thindx::d3d::TessellatorOutputPrimitive
source · [−]#[repr(transparent)]pub struct TessellatorOutputPrimitive(_);
Expand description
[docs.microsoft.com] D3D_TESSELLATOR_OUTPUT_PRIMITIVE
Implementations
sourceimpl TessellatorOutput
impl TessellatorOutput
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_inner(self) -> D3D_TESSELLATOR_OUTPUT_PRIMITIVE
pub const fn into_inner(self) -> D3D_TESSELLATOR_OUTPUT_PRIMITIVE
Convert back into an underlying [winapi] D3D...
type.
sourceimpl TessellatorOutput
impl TessellatorOutput
pub const Undefined: TessellatorOutput = TessellatorOutput(D3D_TESSELLATOR_OUTPUT_UNDEFINED)
pub const Point: TessellatorOutput = TessellatorOutput(D3D_TESSELLATOR_OUTPUT_POINT)
pub const Line: TessellatorOutput = TessellatorOutput(D3D_TESSELLATOR_OUTPUT_LINE)
pub const TriangleCW: TessellatorOutput = TessellatorOutput(D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW)
pub const TriangleCCW: TessellatorOutput = TessellatorOutput(D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW)
Trait Implementations
sourceimpl Clone for TessellatorOutputPrimitive
impl Clone for TessellatorOutputPrimitive
sourcefn clone(&self) -> TessellatorOutputPrimitive
fn clone(&self) -> TessellatorOutputPrimitive
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TessellatorOutput
impl Debug for TessellatorOutput
sourceimpl Default for TessellatorOutput
impl Default for TessellatorOutput
sourceimpl From<TessellatorOutputPrimitive> for D3D_TESSELLATOR_OUTPUT_PRIMITIVE
impl From<TessellatorOutputPrimitive> for D3D_TESSELLATOR_OUTPUT_PRIMITIVE
sourcefn from(value: TessellatorOutput) -> Self
fn from(value: TessellatorOutput) -> Self
Converts to this type from the input type.
sourceimpl Hash for TessellatorOutputPrimitive
impl Hash for TessellatorOutputPrimitive
sourceimpl Ord for TessellatorOutputPrimitive
impl Ord for TessellatorOutputPrimitive
sourceimpl PartialEq<TessellatorOutputPrimitive> for TessellatorOutputPrimitive
impl PartialEq<TessellatorOutputPrimitive> for TessellatorOutputPrimitive
sourcefn eq(&self, other: &TessellatorOutputPrimitive) -> bool
fn eq(&self, other: &TessellatorOutputPrimitive) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TessellatorOutputPrimitive) -> bool
fn ne(&self, other: &TessellatorOutputPrimitive) -> bool
This method tests for !=
.
sourceimpl PartialOrd<TessellatorOutputPrimitive> for TessellatorOutputPrimitive
impl PartialOrd<TessellatorOutputPrimitive> for TessellatorOutputPrimitive
sourcefn partial_cmp(&self, other: &TessellatorOutputPrimitive) -> Option<Ordering>
fn partial_cmp(&self, other: &TessellatorOutputPrimitive) -> 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
sourceimpl Zeroable for TessellatorOutputPrimitive
impl Zeroable for TessellatorOutputPrimitive
impl Copy for TessellatorOutputPrimitive
impl Eq for TessellatorOutputPrimitive
impl Pod for TessellatorOutputPrimitive
impl StructuralEq for TessellatorOutputPrimitive
impl StructuralPartialEq for TessellatorOutputPrimitive
Auto Trait Implementations
impl RefUnwindSafe for TessellatorOutputPrimitive
impl Send for TessellatorOutputPrimitive
impl Sync for TessellatorOutputPrimitive
impl Unpin for TessellatorOutputPrimitive
impl UnwindSafe for TessellatorOutputPrimitive
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