#[repr(C)]pub struct FragmentShadingRateAttachmentInfoKHR {
pub s_type: StructureType,
pub next: *const c_void,
pub fragment_shading_rate_attachment: *const AttachmentReference2,
pub shading_rate_attachment_texel_size: Extent2D,
}
Expand description
Fields
s_type: StructureType
next: *const c_void
fragment_shading_rate_attachment: *const AttachmentReference2
shading_rate_attachment_texel_size: Extent2D
Trait Implementations
sourceimpl Clone for FragmentShadingRateAttachmentInfoKHR
impl Clone for FragmentShadingRateAttachmentInfoKHR
sourcefn clone(&self) -> FragmentShadingRateAttachmentInfoKHR
fn clone(&self) -> FragmentShadingRateAttachmentInfoKHR
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 PartialEq<FragmentShadingRateAttachmentInfoKHR> for FragmentShadingRateAttachmentInfoKHR
impl PartialEq<FragmentShadingRateAttachmentInfoKHR> for FragmentShadingRateAttachmentInfoKHR
sourcefn eq(&self, other: &FragmentShadingRateAttachmentInfoKHR) -> bool
fn eq(&self, other: &FragmentShadingRateAttachmentInfoKHR) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FragmentShadingRateAttachmentInfoKHR) -> bool
fn ne(&self, other: &FragmentShadingRateAttachmentInfoKHR) -> bool
This method tests for !=
.
impl Copy for FragmentShadingRateAttachmentInfoKHR
impl Eq for FragmentShadingRateAttachmentInfoKHR
impl StructuralEq for FragmentShadingRateAttachmentInfoKHR
impl StructuralPartialEq for FragmentShadingRateAttachmentInfoKHR
Auto Trait Implementations
impl RefUnwindSafe for FragmentShadingRateAttachmentInfoKHR
impl !Send for FragmentShadingRateAttachmentInfoKHR
impl !Sync for FragmentShadingRateAttachmentInfoKHR
impl Unpin for FragmentShadingRateAttachmentInfoKHR
impl UnwindSafe for FragmentShadingRateAttachmentInfoKHR
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more