#[repr(C)]pub struct ViewportSwizzleNV {
pub x: ViewportCoordinateSwizzleNV,
pub y: ViewportCoordinateSwizzleNV,
pub z: ViewportCoordinateSwizzleNV,
pub w: ViewportCoordinateSwizzleNV,
}Expand description
Native structure VkViewportSwizzleNV.
Fields§
§x: ViewportCoordinateSwizzleNVNative field x.
y: ViewportCoordinateSwizzleNVNative field y.
z: ViewportCoordinateSwizzleNVNative field z.
w: ViewportCoordinateSwizzleNVNative field w.
Implementations§
Source§impl ViewportSwizzleNV
impl ViewportSwizzleNV
Sourcepub fn set_x(self, value: ViewportCoordinateSwizzleNV) -> Self
pub fn set_x(self, value: ViewportCoordinateSwizzleNV) -> Self
Set native field x without native effects.
Sourcepub fn set_y(self, value: ViewportCoordinateSwizzleNV) -> Self
pub fn set_y(self, value: ViewportCoordinateSwizzleNV) -> Self
Set native field y without native effects.
Sourcepub fn set_z(self, value: ViewportCoordinateSwizzleNV) -> Self
pub fn set_z(self, value: ViewportCoordinateSwizzleNV) -> Self
Set native field z without native effects.
Sourcepub fn set_w(self, value: ViewportCoordinateSwizzleNV) -> Self
pub fn set_w(self, value: ViewportCoordinateSwizzleNV) -> Self
Set native field w without native effects.
Trait Implementations§
Source§impl Clone for ViewportSwizzleNV
impl Clone for ViewportSwizzleNV
impl Copy for ViewportSwizzleNV
Auto Trait Implementations§
impl Forget for ViewportSwizzleNV
impl Freeze for ViewportSwizzleNV
impl Move for ViewportSwizzleNV
impl RefUnwindSafe for ViewportSwizzleNV
impl Send for ViewportSwizzleNV
impl Sync for ViewportSwizzleNV
impl Unpin for ViewportSwizzleNV
impl UnsafeUnpin for ViewportSwizzleNV
impl UnwindSafe for ViewportSwizzleNV
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