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