pub struct FormatSupportFeature(/* private fields */);Expand description
Describes which resources are supported by the current graphics driver for a given format.
For more information: D3D12_FEATURE_DATA_FORMAT_SUPPORT structure
Implementations§
Source§impl FormatSupportFeature
impl FormatSupportFeature
pub fn new(format: Format) -> Self
pub fn support1(&self) -> FormatSupport1
pub fn support2(&self) -> FormatSupport2
Trait Implementations§
Source§impl Clone for FormatSupportFeature
impl Clone for FormatSupportFeature
Source§fn clone(&self) -> FormatSupportFeature
fn clone(&self) -> FormatSupportFeature
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 FormatSupportFeature
impl Debug for FormatSupportFeature
Source§impl FeatureObject for FormatSupportFeature
impl FeatureObject for FormatSupportFeature
const TYPE: FeatureType = FeatureType::FormatSupport
Source§impl PartialEq for FormatSupportFeature
impl PartialEq for FormatSupportFeature
impl Copy for FormatSupportFeature
impl StructuralPartialEq for FormatSupportFeature
Auto Trait Implementations§
impl Freeze for FormatSupportFeature
impl RefUnwindSafe for FormatSupportFeature
impl Send for FormatSupportFeature
impl Sync for FormatSupportFeature
impl Unpin for FormatSupportFeature
impl UnwindSafe for FormatSupportFeature
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