Struct ggez::graphics::na::Dynamic [] [src]

pub struct Dynamic { /* fields omitted */ }

Dim of dynamically-sized algebraic entities.

Methods

impl Dynamic
[src]

[src]

A dynamic size equal to value.

Trait Implementations

impl Copy for Dynamic
[src]

impl Clone for Dynamic
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<D> DimDiv<D> for Dynamic where
    D: Dim
[src]

[src]

impl Dim for Dynamic
[src]

[src]

Gets the compile-time value of Self. Returns None if it is not known, i.e., if Self = Dynamic. Read more

[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

[src]

Gets the run-time value of self. For type-level integers, this is the same as Self::try_to_usize().unwrap(). Read more

[src]

impl<D> DimAdd<D> for Dynamic where
    D: Dim
[src]

[src]

impl<D> DimMin<D> for Dynamic where
    D: Dim
[src]

[src]

impl<D> DimMul<D> for Dynamic where
    D: Dim
[src]

[src]

impl IsDynamic for Dynamic
[src]

impl PartialEq<Dynamic> for Dynamic
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Add<usize> for Dynamic
[src]

[src]

impl Debug for Dynamic
[src]

[src]

Formats the value using the given formatter.

impl<D> DimMax<D> for Dynamic where
    D: Dim
[src]

[src]

impl IsNotStaticOne for Dynamic
[src]

impl<D> DimSub<D> for Dynamic where
    D: Dim
[src]

[src]

impl Eq for Dynamic
[src]

impl Sub<usize> for Dynamic
[src]

[src]