Struct thindx::d3d::ParameterFlags
source · [−]#[repr(transparent)]pub struct ParameterFlags(_);
Expand description
[docs.microsoft.com] UINT / D3D_PF_*
Implementations
sourceimpl PF
impl PF
sourcepub const fn from_unchecked(d3d: D3D_PARAMETER_FLAGS) -> Self
pub const fn from_unchecked(d3d: D3D_PARAMETER_FLAGS) -> Self
Convert from an underlying [winapi] D3D...
type.
This is probably safe… probably…
sourcepub const fn into_inner(self) -> D3D_PARAMETER_FLAGS
pub const fn into_inner(self) -> D3D_PARAMETER_FLAGS
Convert back into an underlying [winapi] D3D...
type.
Trait Implementations
sourceimpl BitOr<ParameterFlags> for PF
impl BitOr<ParameterFlags> for PF
type Output = ParameterFlags
type Output = ParameterFlags
The resulting type after applying the |
operator.
sourceimpl BitOrAssign<ParameterFlags> for PF
impl BitOrAssign<ParameterFlags> for PF
sourcefn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the |=
operation. Read more
sourceimpl Clone for ParameterFlags
impl Clone for ParameterFlags
sourcefn clone(&self) -> ParameterFlags
fn clone(&self) -> ParameterFlags
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<ParameterFlags> for D3D_PARAMETER_FLAGS
impl From<ParameterFlags> for D3D_PARAMETER_FLAGS
sourceimpl Hash for ParameterFlags
impl Hash for ParameterFlags
sourceimpl Ord for ParameterFlags
impl Ord for ParameterFlags
sourceimpl PartialEq<ParameterFlags> for ParameterFlags
impl PartialEq<ParameterFlags> for ParameterFlags
sourcefn eq(&self, other: &ParameterFlags) -> bool
fn eq(&self, other: &ParameterFlags) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ParameterFlags) -> bool
fn ne(&self, other: &ParameterFlags) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ParameterFlags> for ParameterFlags
impl PartialOrd<ParameterFlags> for ParameterFlags
sourcefn partial_cmp(&self, other: &ParameterFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ParameterFlags) -> 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 ParameterFlags
impl Zeroable for ParameterFlags
impl Copy for ParameterFlags
impl Eq for ParameterFlags
impl Pod for ParameterFlags
impl StructuralEq for ParameterFlags
impl StructuralPartialEq for ParameterFlags
Auto Trait Implementations
impl RefUnwindSafe for ParameterFlags
impl Send for ParameterFlags
impl Sync for ParameterFlags
impl Unpin for ParameterFlags
impl UnwindSafe for ParameterFlags
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