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