Struct screen_13::driver::SwapchainInfo
source · [−]pub struct SwapchainInfo {
pub desired_image_count: u32,
pub format: SurfaceFormatKHR,
pub height: u32,
pub sync_display: bool,
pub width: u32,
}Fields
desired_image_count: u32format: SurfaceFormatKHRheight: u32sync_display: boolwidth: u32Implementations
sourceimpl SwapchainInfo
impl SwapchainInfo
pub fn new() -> SwapchainInfoBuilder
Trait Implementations
sourceimpl Clone for SwapchainInfo
impl Clone for SwapchainInfo
sourcefn clone(&self) -> SwapchainInfo
fn clone(&self) -> SwapchainInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SwapchainInfo
impl Debug for SwapchainInfo
sourceimpl Hash for SwapchainInfo
impl Hash for SwapchainInfo
sourceimpl PartialEq<SwapchainInfo> for SwapchainInfo
impl PartialEq<SwapchainInfo> for SwapchainInfo
sourcefn eq(&self, other: &SwapchainInfo) -> bool
fn eq(&self, other: &SwapchainInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SwapchainInfo) -> bool
fn ne(&self, other: &SwapchainInfo) -> bool
This method tests for !=.
impl Copy for SwapchainInfo
impl Eq for SwapchainInfo
impl StructuralEq for SwapchainInfo
impl StructuralPartialEq for SwapchainInfo
Auto Trait Implementations
impl RefUnwindSafe for SwapchainInfo
impl Send for SwapchainInfo
impl Sync for SwapchainInfo
impl Unpin for SwapchainInfo
impl UnwindSafe for SwapchainInfo
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