Struct nalgebra_glm::U1 [−][src]
pub struct U1;
Trait Implementations
impl Clone for U1
[src]
impl Clone for U1
fn clone(&self) -> U1
[src]
fn clone(&self) -> U1
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 U1
[src]
impl Debug for U1
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 U1
[src]
impl Dim for U1
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) -> U1
[src]
fn from_usize(dim: usize) -> U1
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 DimName for U1
[src]
impl DimName for U1
type Value = UInt<UTerm, B1>
fn name() -> U1
[src]
fn name() -> U1
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 U1
[src]
impl Hash for U1
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 U1
[src]
impl Copy for U1
impl Eq for U1
[src]
impl Eq for U1
impl PartialEq<U1> for U1
[src]
impl PartialEq<U1> for U1