pub struct ParameterFlags(/* private fields */);Expand description
[docs.microsoft.com] UINT / D3D_PF_*
Implementations§
Source§impl ParameterFlags
impl ParameterFlags
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(self) -> D3D_PARAMETER_FLAGS
pub const fn into(self) -> D3D_PARAMETER_FLAGS
Convert back into an underlying winapi D3D... type.
Trait Implementations§
Source§impl BitOr for ParameterFlags
impl BitOr for ParameterFlags
Source§impl BitOrAssign for ParameterFlags
impl BitOrAssign for ParameterFlags
Source§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|= operation. Read moreSource§impl Clone for ParameterFlags
impl Clone for ParameterFlags
Source§fn clone(&self) -> ParameterFlags
fn clone(&self) -> ParameterFlags
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 ParameterFlags
impl Debug for ParameterFlags
Source§impl Default for ParameterFlags
impl Default for ParameterFlags
Source§impl From<ParameterFlags> for D3D_PARAMETER_FLAGS
impl From<ParameterFlags> for D3D_PARAMETER_FLAGS
Source§impl Hash for ParameterFlags
impl Hash for ParameterFlags
Source§impl Ord for ParameterFlags
impl Ord for ParameterFlags
Source§fn cmp(&self, other: &ParameterFlags) -> Ordering
fn cmp(&self, other: &ParameterFlags) -> 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 PartialEq for ParameterFlags
impl PartialEq for ParameterFlags
Source§impl PartialOrd for ParameterFlags
impl PartialOrd for ParameterFlags
impl Copy for ParameterFlags
impl Eq for ParameterFlags
impl StructuralPartialEq for ParameterFlags
Auto Trait Implementations§
impl Freeze for ParameterFlags
impl RefUnwindSafe for ParameterFlags
impl Send for ParameterFlags
impl Sync for ParameterFlags
impl Unpin for ParameterFlags
impl UnwindSafe for ParameterFlags
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