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