Struct gdk_x11_sys::xlib::AspectRatio
[−]Fields
x: i32
y: i32
Trait Implementations
impl Clone for AspectRatio
impl Clone for AspectRatio
fn clone(&self) -> AspectRatio
fn clone(&self) -> AspectRatio
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for AspectRatio
impl Debug for AspectRatio
impl PartialEq<AspectRatio> for AspectRatio
impl PartialEq<AspectRatio> for AspectRatio
fn eq(&self, other: &AspectRatio) -> bool
fn eq(&self, other: &AspectRatio) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &AspectRatio) -> bool
fn ne(&self, other: &AspectRatio) -> bool
This method tests for !=
.
impl Copy for AspectRatio
impl StructuralPartialEq for AspectRatio
Auto Trait Implementations
impl RefUnwindSafe for AspectRatio
impl Send for AspectRatio
impl Sync for AspectRatio
impl Unpin for AspectRatio
impl UnwindSafe for AspectRatio
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more