Struct nannou::draw::properties::primitive::tri::Tri [] [src]

pub struct Tri<S = DefaultScalar> { /* fields omitted */ }

Properties related to drawing a Tri.

Methods

impl<S> Tri<S>
[src]

[src]

Use the given three points as the vertices (corners) of the triangle.

Trait Implementations

impl<S: Clone> Clone for Tri<S>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<S: Debug> Debug for Tri<S>
[src]

[src]

Formats the value using the given formatter. Read more

impl<S> IntoDrawn<S> for Tri<S> where
    S: BaseFloat
[src]

The iterator type yielding all unique vertices in the drawing. Read more

The iterator type yielding all vertex indices, describing edges of the drawing.

[src]

Consume self and return its Drawn form.

impl<S> From<Tri<Point3<S>>> for Tri<S> where
    S: BaseFloat
[src]

[src]

Performs the conversion.

impl<S> Default for Tri<S> where
    S: BaseFloat
[src]

[src]

Returns the "default value" for a type. Read more

impl<S> SetPosition<S> for Tri<S>
[src]

[src]

Provide a mutable reference to the position::Properties for updating.

[src]

Build with the given Position along the x axis.

[src]

Build with the given Position along the y axis.

[src]

Build with the given Position along the z axis.

[src]

Build with the given Absolute Position along the x axis.

[src]

Build with the given Absolute Position along the y axis.

[src]

Build with the given Absolute Position along the z axis.

[src]

Set the Position with some two-dimensional point.

[src]

Set the Position with some three-dimensional point.

[src]

Set the Position with x y coordinates.

[src]

Set the Position with x y z coordinates.

[src]

Set the x Position Relative to the previous node.

[src]

Set the y Position Relative to the previous node.

[src]

Set the z Position Relative to the previous node.

[src]

Set the x and y Positions Relative to the previous node.

[src]

Set the x, y and z Positions Relative to the previous node.

[src]

Set the x Position Relative to the given node.

[src]

Set the y Position Relative to the given node.

[src]

Set the y Position Relative to the given node.

[src]

Set the x and y Positions Relative to the given node.

[src]

Set the x, y and z Positions Relative to the given node.

[src]

Set the Position as a Scalar along the x axis Relative to the middle of previous node. Read more

[src]

Set the Position as a Scalar along the y axis Relative to the middle of previous node. Read more

[src]

Set the Position as a Scalar along the z axis Relative to the middle of previous node. Read more

[src]

Set the Position as a Point Relative to the middle of the previous node.

[src]

Set the Position as a Point Relative to the middle of the previous node.

[src]

Set the Position as Scalars along the x and y axes Relative to the middle of the previous node. Read more

[src]

Set the Position as Scalars along the x, y and z axes Relative to the middle of the previous node. Read more

[src]

Set the position relative to the node with the given node::Index.

[src]

Set the position relative to the node with the given node::Index.

[src]

Set the position relative to the node with the given node::Index.

[src]

Set the position relative to the node with the given node::Index.

[src]

Set the position relative to the node with the given node::Index.

[src]

Set the position relative to the node with the given node::Index.

[src]

Set the position relative to the node with the given node::Index.

[src]

Build with the Position along the x axis as some distance from another node.

[src]

Build with the Position along the y axis as some distance from another node.

[src]

Build with the Position along the z axis as some distance from another node.

[src]

Build with the Position as some distance to the left of another node.

[src]

Build with the Position as some distance to the right of another node.

[src]

Build with the Position as some distance below another node.

[src]

Build with the Position as some distance above another node.

[src]

Build with the Position as some distance in front of another node.

[src]

Build with the Position as some distance behind another node.

[src]

Build with the Position along the x axis as some distance from the given node.

[src]

Build with the Position along the y axis as some distance from the given node.

[src]

Build with the Position along the z axis as some distance from the given node.

[src]

Build with the Position as some distance to the left of the given node.

[src]

Build with the Position as some distance to the right of the given node.

[src]

Build with the Position as some distance below the given node.

[src]

Build with the Position as some distance above the given node.

[src]

Build with the Position as some distance in front of the given node.

[src]

Build with the Position as some distance above the given node.

[src]

Align the Position of the node along the x axis.

[src]

Align the Position of the node along the y axis.

[src]

Align the Position of the node along the z axis.

[src]

Align the position to the left.

[src]

Align the position to the left.

[src]

Align the position to the middle.

[src]

Align the position to the right.

[src]

Align the position to the right.

[src]

Align the position to the bottom.

[src]

Align the position to the bottom.

[src]

Align the position to the middle.

[src]

Align the position to the top.

[src]

Align the position to the top.

[src]

Align the position to the front.

[src]

Align the position to the front.

[src]

Align the position to the middle.

[src]

Align the position to the back.

[src]

Align the position to the back.

[src]

Align the Position of the node with the given node along the x axis.

[src]

Align the Position of the node with the given node along the y axis.

[src]

Align the Position of the node with the given node along the z axis.

[src]

Align the position to the left.

[src]

Align the position to the left.

[src]

Align the position to the middle.

[src]

Align the position to the right.

[src]

Align the position to the right.

[src]

Align the position to the bottom.

[src]

Align the position to the bottom.

[src]

Align the position to the middle.

[src]

Align the position to the top.

[src]

Align the position to the top.

[src]

Align the position to the front.

[src]

Align the position to the front.

[src]

Align the position to the middle.

[src]

Align the position to the back.

[src]

Align the position to the back.

[src]

Align the node to the middle of the last node.

[src]

Align the node to the bottom left of the last node.

[src]

Align the node to the middle left of the last node.

[src]

Align the node to the top left of the last node.

[src]

Align the node to the middle top of the last node.

[src]

Align the node to the top right of the last node.

[src]

Align the node to the middle right of the last node.

[src]

Align the node to the bottom right of the last node.

[src]

Align the node to the middle bottom of the last node.

[src]

Align the node in the middle of the given Node.

[src]

Align the node to the bottom left of the given Node.

[src]

Align the node to the middle left of the given Node.

[src]

Align the node to the top left of the given Node.

[src]

Align the node to the middle top of the given Node.

[src]

Align the node to the top right of the given Node.

[src]

Align the node to the middle right of the given Node.

[src]

Align the node to the bottom right of the given Node.

[src]

Align the node to the middle bottom of the given Node.

impl<S> SetDimensions<S> for Tri<S>
[src]

[src]

Provide a mutable reference to the dimension::Properties for updating.

[src]

Set the length along the x axis.

[src]

Set the length along the y axis.

[src]

Set the length along the z axis.

[src]

Set the absolute width for the node.

[src]

Set the absolute height for the node.

[src]

Set the absolute depth for the node.

[src]

Short-hand for the width method.

[src]

Short-hand for the height method.

[src]

Short-hand for the depth method.

[src]

Set the x and y dimensions for the node.

[src]

Set the x, y and z dimensions for the node.

[src]

Set the width and height for the node.

[src]

Set the width and height for the node.

[src]

Some relative dimension along the x axis.

[src]

Some relative dimension along the y axis.

[src]

Some relative dimension along the z axis.

[src]

Set the x-axis dimension as the width of the node at the given index.

[src]

Set the y-axis dimension as the height of the node at the given index.

[src]

Set the z-axis dimension as the depth of the node at the given index.

[src]

Set the dimensions as the dimensions of the node at the given index.

[src]

Set the dimensions as the dimensions of the node at the given index.

[src]

Set the width as the width of the node at the given index padded at both ends by the given Scalar. Read more

[src]

Set the height as the height of the node at the given index padded at both ends by the given Scalar. Read more

[src]

Set the depth as the depth of the node at the given index padded at both ends by the given Scalar. Read more

[src]

Set the dimensions as the dimensions of the node at the given index with each dimension padded by the given scalar. Read more

[src]

Set the dimensions as the dimensions of the node at the given index with each dimension padded by the given scalar. Read more

[src]

Set the width as the width of the node at the given index multiplied by the given scale Scalar value. Read more

[src]

Set the height as the height of the node at the given index multiplied by the given scale Scalar value. Read more

[src]

Set the depth as the depth of the node at the given index multiplied by the given scale Scalar value. Read more

[src]

Set the dimensions as the dimensions of the node at the given index multiplied by the given scale Scalar value. Read more

[src]

Set the dimensions as the dimensions of the node at the given index multiplied by the given scale Scalar value. Read more

impl<S> SetColor<ColorScalar> for Tri<S>
[src]

[src]

Provide a mutable reference to the RGBA field which can be used for setting colors.

[src]

Specify a color. Read more

[src]

Specify the color via red, green and blue channels.

[src]

Specify the color via red, green, blue and alpha channels.

[src]

Specify the color via hue, saturation and luminance. Read more

[src]

Specify the color via hue, saturation, luminance and an alpha channel. Read more

[src]

Specify the color via hue, saturation and value (brightness). Read more

[src]

Specify the color via hue, saturation, value (brightness) and an alpha channel. Read more

impl<S> From<Tri<S>> for Primitive<S>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<S> Send for Tri<S> where
    S: Send

impl<S> Sync for Tri<S> where
    S: Sync