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