pub struct HwRenderContextNegotiationInterface { /* private fields */ }Implementations§
Source§impl HwRenderContextNegotiationInterface
impl HwRenderContextNegotiationInterface
pub fn new( interface_type: HwRenderContextNegotiationInterfaceType, interface_version: u32, ) -> Self
pub fn vulkan(interface_version: u32) -> Self
pub fn interface_type(self) -> HwRenderContextNegotiationInterfaceType
pub fn interface_version(self) -> u32
Trait Implementations§
Source§impl Clone for HwRenderContextNegotiationInterface
impl Clone for HwRenderContextNegotiationInterface
Source§fn clone(&self) -> HwRenderContextNegotiationInterface
fn clone(&self) -> HwRenderContextNegotiationInterface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for HwRenderContextNegotiationInterface
impl PartialEq for HwRenderContextNegotiationInterface
Source§fn eq(&self, other: &HwRenderContextNegotiationInterface) -> bool
fn eq(&self, other: &HwRenderContextNegotiationInterface) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HwRenderContextNegotiationInterface
impl Eq for HwRenderContextNegotiationInterface
impl StructuralPartialEq for HwRenderContextNegotiationInterface
Auto Trait Implementations§
impl Freeze for HwRenderContextNegotiationInterface
impl RefUnwindSafe for HwRenderContextNegotiationInterface
impl Send for HwRenderContextNegotiationInterface
impl Sync for HwRenderContextNegotiationInterface
impl Unpin for HwRenderContextNegotiationInterface
impl UnsafeUnpin for HwRenderContextNegotiationInterface
impl UnwindSafe for HwRenderContextNegotiationInterface
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