pub struct Surface { /* private fields */ }Implementations
sourceimpl Surface
impl Surface
pub fn new(
instance: &Arc<Instance>,
window: &impl HasRawWindowHandle
) -> Result<Self, DriverError>
Trait Implementations
sourceimpl Deref for Surface
impl Deref for Surface
type Target = SurfaceKHR
type Target = SurfaceKHR
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for Surface
impl Send for Surface
impl Sync for Surface
impl Unpin for Surface
impl UnwindSafe for Surface
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