#[repr(C)]pub struct RectLayerKHR {
pub offset: Offset2D,
pub extent: Extent2D,
pub layer: u32,
}Expand description
Native structure VkRectLayerKHR.
Fields§
§offset: Offset2DNative field offset.
extent: Extent2DNative field extent.
layer: u32Native field layer.
Implementations§
Source§impl RectLayerKHR
impl RectLayerKHR
Sourcepub fn set_offset(self, value: Offset2D) -> Self
pub fn set_offset(self, value: Offset2D) -> Self
Set native field offset without native effects.
Sourcepub fn set_extent(self, value: Extent2D) -> Self
pub fn set_extent(self, value: Extent2D) -> Self
Set native field extent without native effects.
Trait Implementations§
Source§impl Clone for RectLayerKHR
impl Clone for RectLayerKHR
impl Copy for RectLayerKHR
Auto Trait Implementations§
impl Forget for RectLayerKHR
impl Freeze for RectLayerKHR
impl Move for RectLayerKHR
impl RefUnwindSafe for RectLayerKHR
impl Send for RectLayerKHR
impl Sync for RectLayerKHR
impl Unpin for RectLayerKHR
impl UnsafeUnpin for RectLayerKHR
impl UnwindSafe for RectLayerKHR
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