pub struct DisplayResolution {
pub height: u32,
pub width: u32,
}Fields§
§height: u32§width: u32Trait Implementations§
Source§impl Clone for DisplayResolution
impl Clone for DisplayResolution
Source§fn clone(&self) -> DisplayResolution
fn clone(&self) -> DisplayResolution
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 moreimpl Copy for DisplayResolution
Source§impl Debug for DisplayResolution
impl Debug for DisplayResolution
Source§impl Default for DisplayResolution
impl Default for DisplayResolution
Source§fn default() -> DisplayResolution
fn default() -> DisplayResolution
Returns the “default value” for a type. Read more
Source§impl PartialEq for DisplayResolution
impl PartialEq for DisplayResolution
impl StructuralPartialEq for DisplayResolution
Auto Trait Implementations§
impl Freeze for DisplayResolution
impl RefUnwindSafe for DisplayResolution
impl Send for DisplayResolution
impl Sync for DisplayResolution
impl Unpin for DisplayResolution
impl UnsafeUnpin for DisplayResolution
impl UnwindSafe for DisplayResolution
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