Struct thindx::d3d::DegreeType
source · [−]#[repr(transparent)]pub struct DegreeType(_);
Expand description
[docs.microsoft.com] D3DDEGREETYPE
Defines the degree of the variables in the equation that describes a curve.
Implementations
sourceimpl Degree
impl Degree
sourcepub const fn from_unchecked(d3d: D3DDEGREETYPE) -> Self
pub const fn from_unchecked(d3d: D3DDEGREETYPE) -> Self
Convert from an underlying [winapi] D3D...
type.
This is probably safe… probably…
sourcepub const fn into_inner(self) -> D3DDEGREETYPE
pub const fn into_inner(self) -> D3DDEGREETYPE
Convert back into an underlying [winapi] D3D...
type.
Trait Implementations
sourceimpl Clone for DegreeType
impl Clone for DegreeType
sourcefn clone(&self) -> DegreeType
fn clone(&self) -> DegreeType
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 From<DegreeType> for D3DDEGREETYPE
impl From<DegreeType> for D3DDEGREETYPE
sourceimpl Hash for DegreeType
impl Hash for DegreeType
sourceimpl Ord for DegreeType
impl Ord for DegreeType
sourceimpl PartialEq<DegreeType> for DegreeType
impl PartialEq<DegreeType> for DegreeType
sourcefn eq(&self, other: &DegreeType) -> bool
fn eq(&self, other: &DegreeType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DegreeType) -> bool
fn ne(&self, other: &DegreeType) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DegreeType> for DegreeType
impl PartialOrd<DegreeType> for DegreeType
sourcefn partial_cmp(&self, other: &DegreeType) -> Option<Ordering>
fn partial_cmp(&self, other: &DegreeType) -> 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 DegreeType
impl Zeroable for DegreeType
impl Copy for DegreeType
impl Eq for DegreeType
impl Pod for DegreeType
impl StructuralEq for DegreeType
impl StructuralPartialEq for DegreeType
Auto Trait Implementations
impl RefUnwindSafe for DegreeType
impl Send for DegreeType
impl Sync for DegreeType
impl Unpin for DegreeType
impl UnwindSafe for DegreeType
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