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