Struct nalgebra::core::dimension::Dynamic
[−]
[src]
pub struct Dynamic { /* fields omitted */ }
Dim of dynamically-sized algebraic entities.
Methods
impl Dynamic
[src]
Trait Implementations
impl Clone for Dynamic
[src]
fn clone(&self) -> Dynamic
[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 Copy for Dynamic
[src]
impl Eq for Dynamic
[src]
impl PartialEq for Dynamic
[src]
fn eq(&self, __arg_0: &Dynamic) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Dynamic) -> bool
[src]
This method tests for !=
.
impl Debug for Dynamic
[src]
impl IsDynamic for Dynamic
[src]
impl IsNotStaticOne for Dynamic
[src]
impl Dim for Dynamic
[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 Add<usize> for Dynamic
[src]
type Output = Dynamic
The resulting type after applying the +
operator.
fn add(self, rhs: usize) -> Dynamic
[src]
Performs the +
operation.
impl Sub<usize> for Dynamic
[src]
type Output = Dynamic
The resulting type after applying the -
operator.
fn sub(self, rhs: usize) -> Dynamic
[src]
Performs the -
operation.