pub struct SurfaceReport {
pub format: String,
pub present_mode: String,
pub supported_present_modes: Vec<String>,
}Expand description
How frames reach the window.
Fields§
§format: StringThe pixel format in use.
present_mode: StringThe present mode in use.
supported_present_modes: Vec<String>The present modes the surface supports.
Trait Implementations§
Source§impl Clone for SurfaceReport
impl Clone for SurfaceReport
Source§fn clone(&self) -> SurfaceReport
fn clone(&self) -> SurfaceReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SurfaceReport
impl Debug for SurfaceReport
Source§impl Default for SurfaceReport
impl Default for SurfaceReport
Source§fn default() -> SurfaceReport
fn default() -> SurfaceReport
Returns the “default value” for a type. Read more
impl Eq for SurfaceReport
Source§impl PartialEq for SurfaceReport
impl PartialEq for SurfaceReport
impl StructuralPartialEq for SurfaceReport
Auto Trait Implementations§
impl Freeze for SurfaceReport
impl RefUnwindSafe for SurfaceReport
impl Send for SurfaceReport
impl Sync for SurfaceReport
impl Unpin for SurfaceReport
impl UnsafeUnpin for SurfaceReport
impl UnwindSafe for SurfaceReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more