pub struct FormatQuery(pub VkFormat);
Expand description
Arbitrary queries of Format
Tuple Fields§
§0: VkFormat
Implementations§
Source§impl FormatQuery
impl FormatQuery
pub fn eq_bit_width(self, w: usize) -> Self
pub fn has_components(self, c: FormatComponents) -> Self
pub fn is_component_of(self, c: FormatComponents) -> Self
pub fn has_element_of(self, e: ElementType) -> Self
pub const fn passed(self) -> bool
Trait Implementations§
Source§impl Clone for FormatQuery
impl Clone for FormatQuery
Source§fn clone(&self) -> FormatQuery
fn clone(&self) -> FormatQuery
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 PartialEq for FormatQuery
impl PartialEq for FormatQuery
impl Copy for FormatQuery
impl Eq for FormatQuery
impl StructuralPartialEq for FormatQuery
Auto Trait Implementations§
impl Freeze for FormatQuery
impl RefUnwindSafe for FormatQuery
impl Send for FormatQuery
impl Sync for FormatQuery
impl Unpin for FormatQuery
impl UnwindSafe for FormatQuery
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