Struct erupt::extensions::khr_display_swapchain::DisplayPresentInfoKHRBuilder [−][src]
Vulkan Manual Page · Builder of DisplayPresentInfoKHR
Implementations
impl<'a> DisplayPresentInfoKHRBuilder<'a>
[src]
pub fn new() -> DisplayPresentInfoKHRBuilder<'a>
[src]
pub fn src_rect(self, src_rect: Rect2D) -> Self
[src]
pub fn dst_rect(self, dst_rect: Rect2D) -> Self
[src]
pub fn persistent(self, persistent: bool) -> Self
[src]
pub fn build(self) -> DisplayPresentInfoKHR
[src]
Discards all lifetime information. Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = DisplayPresentInfoKHR>
Trait Implementations
impl<'a> Clone for DisplayPresentInfoKHRBuilder<'a>
[src]
fn clone(&self) -> DisplayPresentInfoKHRBuilder<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Copy for DisplayPresentInfoKHRBuilder<'a>
[src]
impl<'a> Debug for DisplayPresentInfoKHRBuilder<'a>
[src]
impl<'a> Default for DisplayPresentInfoKHRBuilder<'a>
[src]
fn default() -> DisplayPresentInfoKHRBuilder<'a>
[src]
impl<'a> Deref for DisplayPresentInfoKHRBuilder<'a>
[src]
type Target = DisplayPresentInfoKHR
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<'a> DerefMut for DisplayPresentInfoKHRBuilder<'a>
[src]
impl<'a> ExtendableFrom<'a, DisplayPresentInfoKHRBuilder<'_>> for PresentInfoKHRBuilder<'a>
[src]
#[must_use]fn extend_from(self, other: &'a mut T) -> Self where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl<'a> RefUnwindSafe for DisplayPresentInfoKHRBuilder<'a>
impl<'a> !Send for DisplayPresentInfoKHRBuilder<'a>
impl<'a> !Sync for DisplayPresentInfoKHRBuilder<'a>
impl<'a> Unpin for DisplayPresentInfoKHRBuilder<'a>
impl<'a> UnwindSafe for DisplayPresentInfoKHRBuilder<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,