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