pub struct DisplayPlane { /* private fields */ }
Expand description
?
Implementations
sourceimpl DisplayPlane
impl DisplayPlane
sourcepub fn enumerate_raw(
device: PhysicalDevice<'_>
) -> Result<IntoIter<DisplayPlane>, OomError>
pub fn enumerate_raw(
device: PhysicalDevice<'_>
) -> Result<IntoIter<DisplayPlane>, OomError>
See the docs of enumerate().
sourcepub fn enumerate(device: PhysicalDevice<'_>) -> IntoIter<DisplayPlane>
pub fn enumerate(device: PhysicalDevice<'_>) -> IntoIter<DisplayPlane>
Enumerates all the display planes that are available on a given physical device.
Panic
- Panics if the device or host ran out of memory.
sourcepub fn physical_device(&self) -> PhysicalDevice<'_>
pub fn physical_device(&self) -> PhysicalDevice<'_>
Returns the physical device that was used to create this display.
Auto Trait Implementations
impl RefUnwindSafe for DisplayPlane
impl Send for DisplayPlane
impl Sync for DisplayPlane
impl Unpin for DisplayPlane
impl UnwindSafe for DisplayPlane
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