Struct nalgebra::core::dimension::U40
[−]
[src]
pub struct U40;
Trait Implementations
impl Debug for U40
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for U40
[src]
impl Clone for U40
[src]
fn clone(&self) -> U40
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Hash for U40
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for U40
[src]
fn eq(&self, __arg_0: &U40) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for U40
[src]
impl Dim for U40
[src]
fn try_to_usize() -> Option<usize>
[src]
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) -> Self
[src]
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]
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: Dim>() -> bool
[src]
impl DimName for U40
[src]
type Value = U40
fn name() -> Self
[src]
The name of this dimension, i.e., the singleton Self
.
fn dim() -> usize
[src]
The value of this dimension.