pub struct ViewportScaleParams {
pub width: i32,
pub height: i32,
}
Fields§
§width: i32
§height: i32
Trait Implementations§
Source§impl Clone for ViewportScaleParams
impl Clone for ViewportScaleParams
Source§fn clone(&self) -> ViewportScaleParams
fn clone(&self) -> ViewportScaleParams
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 ViewportScaleParams
impl Debug for ViewportScaleParams
Source§impl PartialEq for ViewportScaleParams
impl PartialEq for ViewportScaleParams
impl Copy for ViewportScaleParams
impl StructuralPartialEq for ViewportScaleParams
Auto Trait Implementations§
impl Freeze for ViewportScaleParams
impl RefUnwindSafe for ViewportScaleParams
impl Send for ViewportScaleParams
impl Sync for ViewportScaleParams
impl Unpin for ViewportScaleParams
impl UnwindSafe for ViewportScaleParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)