Struct gdnative_bindings::camera::KeepAspect
source · pub struct KeepAspect(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl KeepAspect
impl KeepAspect
pub const WIDTH: KeepAspect = _
pub const HEIGHT: KeepAspect = _
Trait Implementations§
source§impl Clone for KeepAspect
impl Clone for KeepAspect
source§fn clone(&self) -> KeepAspect
fn clone(&self) -> KeepAspect
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 KeepAspect
impl Debug for KeepAspect
source§impl From<KeepAspect> for i64
impl From<KeepAspect> for i64
source§fn from(v: KeepAspect) -> Self
fn from(v: KeepAspect) -> Self
Converts to this type from the input type.
source§impl From<i64> for KeepAspect
impl From<i64> for KeepAspect
source§impl FromVariant for KeepAspect
impl FromVariant for KeepAspect
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
source§impl Hash for KeepAspect
impl Hash for KeepAspect
source§impl Ord for KeepAspect
impl Ord for KeepAspect
source§fn cmp(&self, other: &KeepAspect) -> Ordering
fn cmp(&self, other: &KeepAspect) -> 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<KeepAspect> for KeepAspect
impl PartialEq<KeepAspect> for KeepAspect
source§fn eq(&self, other: &KeepAspect) -> bool
fn eq(&self, other: &KeepAspect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<KeepAspect> for KeepAspect
impl PartialOrd<KeepAspect> for KeepAspect
source§fn partial_cmp(&self, other: &KeepAspect) -> Option<Ordering>
fn partial_cmp(&self, other: &KeepAspect) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for KeepAspect
impl Eq for KeepAspect
impl StructuralEq for KeepAspect
impl StructuralPartialEq for KeepAspect
Auto Trait Implementations§
impl RefUnwindSafe for KeepAspect
impl Send for KeepAspect
impl Sync for KeepAspect
impl Unpin for KeepAspect
impl UnwindSafe for KeepAspect
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.