pub struct FromNativeImageViewParameters {
pub owned: bool,
pub device: Device,
pub allocator: Option<Box<dyn Allocator>>,
}
Fields§
§owned: bool
true
, if this ImageView
should destroy the underlying Vulkan object, when it is dropped.
device: Device
The Device
, from which this ImageView
was created.
allocator: Option<Box<dyn Allocator>>
An Allocator
compatible with the one used to create this ImageView
.
This parameter is ignored, if owned
is false
.
Implementations§
Auto Trait Implementations§
impl Freeze for FromNativeImageViewParameters
impl !RefUnwindSafe for FromNativeImageViewParameters
impl Send for FromNativeImageViewParameters
impl Sync for FromNativeImageViewParameters
impl Unpin for FromNativeImageViewParameters
impl !UnwindSafe for FromNativeImageViewParameters
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