Struct vulkano::swapchain::display::DisplayPlane
source · 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.