Struct rps_sys::RpsDeviceCreateInfo
source · #[repr(C)]pub struct RpsDeviceCreateInfo {
pub allocator: RpsAllocator,
pub printer: RpsPrinter,
pub privateDataAllocInfo: RpsAllocInfo,
pub pfnDeviceOnDestroy: PFN_rpsDeviceOnDestroy,
}Expand description
@brief Creation parameters for an
Fields§
§allocator: RpsAllocator< Default allocator to be usable for all memory allocations which do
printer: RpsPrinter< Default printer to be usable for all printing operations which do
privateDataAllocInfo: RpsAllocInfo< Allocation info for user controlled data which is part of the
pfnDeviceOnDestroy: PFN_rpsDeviceOnDestroy< Pointer to a function for eventual destruction of the device.
Trait Implementations§
source§impl Clone for RpsDeviceCreateInfo
impl Clone for RpsDeviceCreateInfo
source§fn clone(&self) -> RpsDeviceCreateInfo
fn clone(&self) -> RpsDeviceCreateInfo
Returns a copy 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 more