pub struct VkCullModeFlags {
pub front: bool,
pub back: bool,
pub front_and_back: bool,
}Expand description
Wrapper for VkCullModeFlags.
Use the macro VkCullModeFlags! as an alternative method to create a structure. For example, these two snippets return the same value:
VkCullModeFlags!(front, back)VkCullModeFlags {
front: true,
back: true,
..VkCullModeFlags::none()
}Fields§
§front: bool§back: bool§front_and_back: boolImplementations§
Trait Implementations§
Source§impl Clone for VkCullModeFlags
impl Clone for VkCullModeFlags
Source§fn clone(&self) -> VkCullModeFlags
fn clone(&self) -> VkCullModeFlags
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 VkCullModeFlags
impl Debug for VkCullModeFlags
Source§impl Default for VkCullModeFlags
impl Default for VkCullModeFlags
Source§fn default() -> VkCullModeFlags
fn default() -> VkCullModeFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VkCullModeFlags
impl RefUnwindSafe for VkCullModeFlags
impl Send for VkCullModeFlags
impl Sync for VkCullModeFlags
impl Unpin for VkCullModeFlags
impl UnwindSafe for VkCullModeFlags
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