Struct nalgebra_glm::U2 [−][src]
pub struct U2;
Trait Implementations
impl Clone for U2
[src]
impl Clone for U2
fn clone(&self) -> U2
[src]
fn clone(&self) -> U2
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for U2
[src]
impl Debug for U2
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Dim for U2
[src]
impl Dim for U2
fn try_to_usize() -> Option<usize>
[src]
fn try_to_usize() -> Option<usize>
Gets the compile-time value of Self
. Returns None
if it is not known, i.e., if Self = Dynamic
. Read more
fn from_usize(dim: usize) -> U2
[src]
fn from_usize(dim: usize) -> U2
Builds an instance of Self
from a run-time value. Panics if Self
is a type-level integer and dim != Self::try_to_usize().unwrap()
. Read more
fn value(&self) -> usize
[src]
fn value(&self) -> usize
Gets the run-time value of self
. For type-level integers, this is the same as Self::try_to_usize().unwrap()
. Read more
fn is<D>() -> bool where
D: Dim,
[src]
fn is<D>() -> bool where
D: Dim,
impl IsNotStaticOne for U2
[src]
impl IsNotStaticOne for U2
impl DimName for U2
[src]
impl DimName for U2
type Value = UInt<UInt<UTerm, B1>, B0>
fn name() -> U2
[src]
fn name() -> U2
The name of this dimension, i.e., the singleton Self
.
fn dim() -> usize
[src]
fn dim() -> usize
The value of this dimension.
impl Hash for U2
[src]
impl Hash for U2
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy for U2
[src]
impl Copy for U2
impl Eq for U2
[src]
impl Eq for U2
impl PartialEq<U2> for U2
[src]
impl PartialEq<U2> for U2