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
pub const MAX: PrimitiveType
Trait Implementations§
Source§impl Clone for PrimitiveType
impl Clone for PrimitiveType
Source§fn clone(&self) -> PrimitiveType
fn clone(&self) -> PrimitiveType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for PrimitiveType
impl PartialEq for PrimitiveType
Source§impl PartialOrd for PrimitiveType
impl PartialOrd for PrimitiveType
impl Copy for PrimitiveType
impl Eq for PrimitiveType
impl StructuralPartialEq for PrimitiveType
Auto Trait Implementations§
impl Freeze for PrimitiveType
impl RefUnwindSafe for PrimitiveType
impl Send for PrimitiveType
impl Sync for PrimitiveType
impl Unpin for PrimitiveType
impl UnwindSafe for PrimitiveType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.