pub struct Surface<P> where
P: SharedPointerKind, { /* private fields */ }Implementations
sourceimpl<P> Surface<P> where
P: SharedPointerKind,
impl<P> Surface<P> where
P: SharedPointerKind,
pub fn new(
instance: &SharedPointer<Instance, P>,
window: &impl HasRawWindowHandle
) -> Result<Self, DriverError>
Trait Implementations
sourceimpl<P> Debug for Surface<P> where
P: SharedPointerKind,
impl<P> Debug for Surface<P> where
P: SharedPointerKind,
sourceimpl<P> Deref for Surface<P> where
P: SharedPointerKind,
impl<P> Deref for Surface<P> where
P: SharedPointerKind,
type Target = SurfaceKHR
type Target = SurfaceKHR
The resulting type after dereferencing.
Auto Trait Implementations
impl<P> RefUnwindSafe for Surface<P> where
P: RefUnwindSafe,
impl<P> Send for Surface<P> where
P: Send,
impl<P> Sync for Surface<P> where
P: Sync,
impl<P> Unpin for Surface<P> where
P: Unpin,
impl<P> UnwindSafe for Surface<P> where
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more