Struct nalgebra::base::dimension::U4 [−][src]
pub struct U4;
Trait Implementations
impl Debug for U4
[src]
impl Debug for U4
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for U4
[src]
impl Copy for U4
impl Clone for U4
[src]
impl Clone for U4
fn clone(&self) -> U4
[src]
fn clone(&self) -> U4
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)
Performs copy-assignment from source
. Read more
impl Hash for U4
[src]
impl Hash for U4
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for U4
[src]
impl PartialEq for U4
fn eq(&self, other: &U4) -> bool
[src]
fn eq(&self, other: &U4) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for U4
[src]
impl Eq for U4
impl Dim for U4
[src]
impl Dim for U4
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) -> Self
[src]
fn from_usize(dim: usize) -> Self
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: Dim>() -> bool
[src]
fn is<D: Dim>() -> bool
impl DimName for U4
[src]
impl DimName for U4
type Value = U4
fn name() -> Self
[src]
fn name() -> Self
The name of this dimension, i.e., the singleton Self
.
fn dim() -> usize
[src]
fn dim() -> usize
The value of this dimension.
impl IsNotStaticOne for U4
[src]
impl IsNotStaticOne for U4