pub struct D3dBinding {
pub class: D3dClass,
pub register: u32,
pub space: u32,
}Expand description
A D3D bind point: class, register index and register space.
Fields§
§class: D3dClassWhich register class (b, t, s or u) the resource is bound in.
register: u32The register index within the class and space.
space: u32The register space (space<n>; 0 where the source has no spaces).
Trait Implementations§
Source§impl Clone for D3dBinding
impl Clone for D3dBinding
impl Copy for D3dBinding
Source§impl Debug for D3dBinding
impl Debug for D3dBinding
impl Eq for D3dBinding
Source§impl Hash for D3dBinding
impl Hash for D3dBinding
Source§impl Ord for D3dBinding
impl Ord for D3dBinding
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for D3dBinding
impl PartialEq for D3dBinding
Source§impl PartialOrd for D3dBinding
impl PartialOrd for D3dBinding
Source§impl Serialize for D3dBinding
impl Serialize for D3dBinding
impl StructuralPartialEq for D3dBinding
Auto Trait Implementations§
impl Freeze for D3dBinding
impl RefUnwindSafe for D3dBinding
impl Send for D3dBinding
impl Sync for D3dBinding
impl Unpin for D3dBinding
impl UnsafeUnpin for D3dBinding
impl UnwindSafe for D3dBinding
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