pub struct GeneralResolution {
pub x: u32,
pub y: u32,
}Fields§
§x: u32§y: u32Implementations§
Trait Implementations§
Source§impl Clone for GeneralResolution
impl Clone for GeneralResolution
Source§fn clone(&self) -> GeneralResolution
fn clone(&self) -> GeneralResolution
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 GeneralResolution
impl Debug for GeneralResolution
Source§impl Ord for GeneralResolution
impl Ord for GeneralResolution
Source§fn cmp(&self, other: &GeneralResolution) -> Ordering
fn cmp(&self, other: &GeneralResolution) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GeneralResolution
impl PartialEq for GeneralResolution
Source§impl PartialOrd for GeneralResolution
impl PartialOrd for GeneralResolution
impl Eq for GeneralResolution
impl StructuralPartialEq for GeneralResolution
Auto Trait Implementations§
impl Freeze for GeneralResolution
impl RefUnwindSafe for GeneralResolution
impl Send for GeneralResolution
impl Sync for GeneralResolution
impl Unpin for GeneralResolution
impl UnwindSafe for GeneralResolution
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