#[repr(C, packed(1))]pub struct ScResolution {
pub width: i32,
pub height: i32,
}Expand description
@brief image resolution.
Fields§
§width: i32§height: i32Trait Implementations§
Source§impl Clone for ScResolution
impl Clone for ScResolution
Source§fn clone(&self) -> ScResolution
fn clone(&self) -> ScResolution
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 ScResolution
Source§impl Debug for ScResolution
impl Debug for ScResolution
Source§impl Default for ScResolution
impl Default for ScResolution
Source§fn default() -> ScResolution
fn default() -> ScResolution
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScResolution
impl RefUnwindSafe for ScResolution
impl Send for ScResolution
impl Sync for ScResolution
impl Unpin for ScResolution
impl UnsafeUnpin for ScResolution
impl UnwindSafe for ScResolution
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