Struct wayland_bridge::compositor::ViewportScaleParams
source · 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
source§fn eq(&self, other: &ViewportScaleParams) -> bool
fn eq(&self, other: &ViewportScaleParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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