#[repr(transparent)]pub struct LineCaps(_);
Expand description
[docs.microsoft.com] D3DLINECAPS_*
Implementations
sourceimpl LineCaps
impl LineCaps
sourcepub const fn from_unchecked(d3d: DWORD) -> Self
pub const fn from_unchecked(d3d: DWORD) -> Self
Convert from an underlying [winapi] D3D...
type.
This is probably safe… probably…
sourcepub const fn into_inner(self) -> DWORD
pub const fn into_inner(self) -> DWORD
Convert back into an underlying [winapi] D3D...
type.
sourceimpl LineCaps
impl LineCaps
pub const None: LineCaps = LineCaps(0)
pub const AlphaCmp: LineCaps = LineCaps(D3DLINECAPS_ALPHACMP)
pub const AntiAlias: LineCaps = LineCaps(D3DLINECAPS_ANTIALIAS)
pub const Blend: LineCaps = LineCaps(D3DLINECAPS_BLEND)
pub const Fog: LineCaps = LineCaps(D3DLINECAPS_FOG)
pub const Texture: LineCaps = LineCaps(D3DLINECAPS_TEXTURE)
pub const ZTest: LineCaps = LineCaps(D3DLINECAPS_ZTEST)
Trait Implementations
sourceimpl BitOrAssign<LineCaps> for LineCaps
impl BitOrAssign<LineCaps> for LineCaps
sourcefn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the |=
operation. Read more
sourceimpl Ord for LineCaps
impl Ord for LineCaps
sourceimpl PartialOrd<LineCaps> for LineCaps
impl PartialOrd<LineCaps> for LineCaps
sourcefn partial_cmp(&self, other: &LineCaps) -> Option<Ordering>
fn partial_cmp(&self, other: &LineCaps) -> 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
impl Copy for LineCaps
impl Eq for LineCaps
impl Pod for LineCaps
impl StructuralEq for LineCaps
impl StructuralPartialEq for LineCaps
Auto Trait Implementations
impl RefUnwindSafe for LineCaps
impl Send for LineCaps
impl Sync for LineCaps
impl Unpin for LineCaps
impl UnwindSafe for LineCaps
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