#[repr(C)]pub struct ExternalMemoryProperties {
pub externalMemoryFeatures: ExternalMemoryFeatureFlags,
pub exportFromImportedHandleTypes: ExternalMemoryHandleTypeFlags,
pub compatibleHandleTypes: ExternalMemoryHandleTypeFlags,
}Fields§
§externalMemoryFeatures: ExternalMemoryFeatureFlags§exportFromImportedHandleTypes: ExternalMemoryHandleTypeFlags§compatibleHandleTypes: ExternalMemoryHandleTypeFlagsImplementations§
Source§impl ExternalMemoryProperties
impl ExternalMemoryProperties
pub fn new() -> Self
pub fn externalMemoryFeatures( self, externalMemoryFeatures: ExternalMemoryFeatureFlags, ) -> Self
pub fn exportFromImportedHandleTypes( self, exportFromImportedHandleTypes: ExternalMemoryHandleTypeFlags, ) -> Self
pub fn compatibleHandleTypes( self, compatibleHandleTypes: ExternalMemoryHandleTypeFlags, ) -> Self
Trait Implementations§
Source§impl Clone for ExternalMemoryProperties
impl Clone for ExternalMemoryProperties
Source§fn clone(&self) -> ExternalMemoryProperties
fn clone(&self) -> ExternalMemoryProperties
Returns a duplicate 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 moreSource§impl Debug for ExternalMemoryProperties
impl Debug for ExternalMemoryProperties
Source§impl Default for ExternalMemoryProperties
impl Default for ExternalMemoryProperties
Source§fn default() -> ExternalMemoryProperties
fn default() -> ExternalMemoryProperties
Returns the “default value” for a type. Read more
impl Copy for ExternalMemoryProperties
Auto Trait Implementations§
impl Freeze for ExternalMemoryProperties
impl RefUnwindSafe for ExternalMemoryProperties
impl Send for ExternalMemoryProperties
impl Sync for ExternalMemoryProperties
impl Unpin for ExternalMemoryProperties
impl UnwindSafe for ExternalMemoryProperties
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