Struct screen_13::driver::SwapchainInfoBuilder
source · [−]pub struct SwapchainInfoBuilder { /* private fields */ }Expand description
Builder for SwapchainInfo.
Implementations
sourceimpl SwapchainInfoBuilder
impl SwapchainInfoBuilder
pub fn desired_image_count(self, value: u32) -> Self
pub fn format(self, value: SurfaceFormatKHR) -> Self
pub fn height(self, value: u32) -> Self
pub fn sync_display(self, value: bool) -> Self
pub fn width(self, value: u32) -> Self
sourcepub fn build(self) -> Result<SwapchainInfo, SwapchainInfoBuilderError>
pub fn build(self) -> Result<SwapchainInfo, SwapchainInfoBuilderError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SwapchainInfoBuilder
impl Send for SwapchainInfoBuilder
impl Sync for SwapchainInfoBuilder
impl Unpin for SwapchainInfoBuilder
impl UnwindSafe for SwapchainInfoBuilder
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