Struct gdnative_bindings::scene_tree::StretchAspect
source · pub struct StretchAspect(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl StretchAspect
impl StretchAspect
pub const IGNORE: StretchAspect = _
pub const KEEP: StretchAspect = _
pub const KEEP_WIDTH: StretchAspect = _
pub const KEEP_HEIGHT: StretchAspect = _
pub const EXPAND: StretchAspect = _
Trait Implementations§
source§impl Clone for StretchAspect
impl Clone for StretchAspect
source§fn clone(&self) -> StretchAspect
fn clone(&self) -> StretchAspect
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 StretchAspect
impl Debug for StretchAspect
source§impl From<StretchAspect> for i64
impl From<StretchAspect> for i64
source§fn from(v: StretchAspect) -> Self
fn from(v: StretchAspect) -> Self
Converts to this type from the input type.
source§impl From<i64> for StretchAspect
impl From<i64> for StretchAspect
source§impl FromVariant for StretchAspect
impl FromVariant for StretchAspect
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
source§impl Hash for StretchAspect
impl Hash for StretchAspect
source§impl Ord for StretchAspect
impl Ord for StretchAspect
source§fn cmp(&self, other: &StretchAspect) -> Ordering
fn cmp(&self, other: &StretchAspect) -> 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<StretchAspect> for StretchAspect
impl PartialEq<StretchAspect> for StretchAspect
source§fn eq(&self, other: &StretchAspect) -> bool
fn eq(&self, other: &StretchAspect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<StretchAspect> for StretchAspect
impl PartialOrd<StretchAspect> for StretchAspect
source§fn partial_cmp(&self, other: &StretchAspect) -> Option<Ordering>
fn partial_cmp(&self, other: &StretchAspect) -> 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 StretchAspect
impl Eq for StretchAspect
impl StructuralEq for StretchAspect
impl StructuralPartialEq for StretchAspect
Auto Trait Implementations§
impl RefUnwindSafe for StretchAspect
impl Send for StretchAspect
impl Sync for StretchAspect
impl Unpin for StretchAspect
impl UnwindSafe for StretchAspect
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.