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
Creation parameters for an RpsDevice.
Fields§
§allocator: RpsAllocatorDefault allocator to be usable for all memory allocations which do
printer: RpsPrinterDefault printer to be usable for all printing operations which do
privateDataAllocInfo: RpsAllocInfoAllocation info for user controlled data which is part of the
pfnDeviceOnDestroy: PFN_rpsDeviceOnDestroyPointer 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