#[non_exhaustive]pub struct RenderTargetExtent {
pub width: u32,
pub height: u32,
pub scale_factor: f64,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.width: u32§height: u32§scale_factor: f64Implementations§
Trait Implementations§
Source§impl Clone for RenderTargetExtent
impl Clone for RenderTargetExtent
Source§fn clone(&self) -> RenderTargetExtent
fn clone(&self) -> RenderTargetExtent
Returns a duplicate of the value. Read more
1.0.0 · 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 RenderTargetExtent
impl Debug for RenderTargetExtent
Source§impl Default for RenderTargetExtent
impl Default for RenderTargetExtent
Source§impl PartialEq for RenderTargetExtent
impl PartialEq for RenderTargetExtent
impl StructuralPartialEq for RenderTargetExtent
Auto Trait Implementations§
impl Freeze for RenderTargetExtent
impl RefUnwindSafe for RenderTargetExtent
impl Send for RenderTargetExtent
impl Sync for RenderTargetExtent
impl Unpin for RenderTargetExtent
impl UnsafeUnpin for RenderTargetExtent
impl UnwindSafe for RenderTargetExtent
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