#[repr(C)]
pub struct D3D10_SHADER_DESC {
Show 28 fields pub Version: u32, pub Creator: PCSTR, pub Flags: u32, pub ConstantBuffers: u32, pub BoundResources: u32, pub InputParameters: u32, pub OutputParameters: u32, pub InstructionCount: u32, pub TempRegisterCount: u32, pub TempArrayCount: u32, pub DefCount: u32, pub DclCount: u32, pub TextureNormalInstructions: u32, pub TextureLoadInstructions: u32, pub TextureCompInstructions: u32, pub TextureBiasInstructions: u32, pub TextureGradientInstructions: u32, pub FloatInstructionCount: u32, pub IntInstructionCount: u32, pub UintInstructionCount: u32, pub StaticFlowControlCount: u32, pub DynamicFlowControlCount: u32, pub MacroInstructionCount: u32, pub ArrayInstructionCount: u32, pub CutInstructionCount: u32, pub EmitInstructionCount: u32, pub GSOutputTopology: D3D_PRIMITIVE_TOPOLOGY, pub GSMaxOutputVertexCount: u32,
}

Fields§

§Version: u32§Creator: PCSTR§Flags: u32§ConstantBuffers: u32§BoundResources: u32§InputParameters: u32§OutputParameters: u32§InstructionCount: u32§TempRegisterCount: u32§TempArrayCount: u32§DefCount: u32§DclCount: u32§TextureNormalInstructions: u32§TextureLoadInstructions: u32§TextureCompInstructions: u32§TextureBiasInstructions: u32§TextureGradientInstructions: u32§FloatInstructionCount: u32§IntInstructionCount: u32§UintInstructionCount: u32§StaticFlowControlCount: u32§DynamicFlowControlCount: u32§MacroInstructionCount: u32§ArrayInstructionCount: u32§CutInstructionCount: u32§EmitInstructionCount: u32§GSOutputTopology: D3D_PRIMITIVE_TOPOLOGY§GSMaxOutputVertexCount: u32

Trait Implementations§

§

impl Clone for D3D10_SHADER_DESC

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for D3D10_SHADER_DESC

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for D3D10_SHADER_DESC

§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl PartialEq for D3D10_SHADER_DESC

§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for D3D10_SHADER_DESC

§

impl Eq for D3D10_SHADER_DESC

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.