Struct rust_3d::Face3 [] [src]

pub struct Face3 {
    pub a: VId,
    pub b: VId,
    pub c: VId,
}

Face3, a face defined by 3 indices (e.g. used for Mesh)

Fields

Methods

impl Face3
[src]

Creates a new Face3 from 3 indices

Trait Implementations

impl Debug for Face3
[src]

Formats the value using the given formatter.

impl PartialEq for Face3
[src]

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

This method tests for !=.

impl PartialOrd for Face3
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Clone for Face3
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Face3
[src]

impl Ord for Face3
[src]

This method returns an Ordering between self and other. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more

impl Hash for Face3
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl IsTopologyUnit for Face3
[src]

Should return the number of indices a unit is defined with. (e.g. 3 for a tri mesh)

Should return the vertex id of the nth element of this unit. Failure if index out of bounds

impl Display for Face3
[src]

Formats the value using the given formatter. Read more