Struct nannou::draw::properties::primitive::rect::Rect[][src]

pub struct Rect<S = Default> { /* fields omitted */ }

Properties related to drawing a Rect.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

impl<S> IntoDrawn<S> for Rect<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.

Consume self and return its Drawn form.

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

Performs the conversion.

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

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

impl<S> SetOrientation<S> for Rect<S>
[src]

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

Describe orientation via the vector that points to the given target.

Describe orientation via the vector that points to the given node.

Describe orientation via the vector that points to the given point.

Build with the given Orientation along the x axis.

Build with the given Orientation along the x axis.

Build with the given Orientation along the x axis.

Specify the orientation around the x axis as an absolute value in radians.

Specify the orientation around the y axis as an absolute value in radians.

Specify the orientation around the z axis as an absolute value in radians.

Specify the orientation around the x axis as an absolute value in radians.

Specify the orientation around the y axis as an absolute value in radians.

Specify the orientation around the z axis as an absolute value in radians.

Specify the orientation around the x axis as a number of turns around the axis.

Specify the orientation around the y axis as a number of turns around the axis.

Specify the orientation around the z axis as a number of turns around the axis.

Specify the orientation along each axis with the given Vector of radians. Read more

Specify the orientation along each axis with the given Vector of degrees. Read more

Specify the orientation along each axis with the given Vector of "turns". Read more

Specify the orientation with the given Euler. Read more

Specify the orientation with the given Quaternion.

Specify the orientation around the x axis as a relative value in radians.

Specify the orientation around the y axis as a relative value in radians.

Specify the orientation around the z axis as a relative value in radians.

Specify the orientation around the x axis as a relative value in radians.

Specify the orientation around the y axis as a relative value in radians.

Specify the orientation around the z axis as a relative value in radians.

Specify the orientation around the x axis as a relative value in degrees.

Specify the orientation around the y axis as a relative value in degrees.

Specify the orientation around the z axis as a relative value in degrees.

Specify the orientation around the x axis as a relative value in degrees.

Specify the orientation around the y axis as a relative value in degrees.

Specify the orientation around the z axis as a relative value in degrees.

Specify the relative orientation around the x axis as a number of turns around the axis.

Specify the relative orientation around the y axis as a number of turns around the axis.

Specify the relative orientation around the z axis as a number of turns around the axis.

Specify the relative orientation around the x axis as a number of turns around the axis.

Specify the relative orientation around the y axis as a number of turns around the axis.

Specify the relative orientation around the z axis as a number of turns around the axis.

Specify a relative orientation along each axis with the given Vector of radians. Read more

Specify a relative orientation along each axis with the given Vector of radians. Read more

Specify a relative orientation along each axis with the given Vector of degrees. Read more

Specify a relative orientation along each axis with the given Vector of degrees. Read more

Specify a relative orientation along each axis with the given Vector of "turns". Read more

Specify a relative orientation along each axis with the given Vector of "turns". Read more

Specify a relative orientation with the given Euler. Read more

Specify a relative orientation with the given Euler. Read more

Specify the "pitch" of the orientation in radians. Read more

Specify the "yaw" of the orientation in radians. Read more

Specify the "roll" of the orientation in radians. Read more

Assuming we're looking at a 2D plane, positive values cause a clockwise rotation where the given value is specified in radians. Read more

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

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

Build with the given Position along the x axis.

Build with the given Position along the y axis.

Build with the given Position along the z axis.

Build with the given Absolute Position along the x axis.

Build with the given Absolute Position along the y axis.

Build with the given Absolute Position along the z axis.

Set the Position with some two-dimensional point.

Set the Position with some three-dimensional point.

Set the Position with x y coordinates.

Set the Position with x y z coordinates.

Set the x Position Relative to the previous node.

Set the y Position Relative to the previous node.

Set the z Position Relative to the previous node.

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

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

Set the x Position Relative to the given node.

Set the y Position Relative to the given node.

Set the y Position Relative to the given node.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Build with the Position as some distance below another node.

Build with the Position as some distance above another node.

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

Build with the Position as some distance behind another node.

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

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

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

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

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

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

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

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

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

Align the Position of the node along the x axis.

Align the Position of the node along the y axis.

Align the Position of the node along the z axis.

Align the position to the left.

Align the position to the left.

Align the position to the middle.

Align the position to the right.

Align the position to the right.

Align the position to the bottom.

Align the position to the bottom.

Align the position to the middle.

Align the position to the top.

Align the position to the top.

Align the position to the front.

Align the position to the front.

Align the position to the middle.

Align the position to the back.

Align the position to the back.

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

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

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

Align the position to the left.

Align the position to the left.

Align the position to the middle.

Align the position to the right.

Align the position to the right.

Align the position to the bottom.

Align the position to the bottom.

Align the position to the middle.

Align the position to the top.

Align the position to the top.

Align the position to the front.

Align the position to the front.

Align the position to the middle.

Align the position to the back.

Align the position to the back.

Align the node to the middle of the last node.

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

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

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

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

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

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

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

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

Align the node in the middle of the given Node.

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

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

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

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

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

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

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

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

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

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

Set the length along the x axis.

Set the length along the y axis.

Set the length along the z axis.

Set the absolute width for the node.

Set the absolute height for the node.

Set the absolute depth for the node.

Short-hand for the width method.

Short-hand for the height method.

Short-hand for the depth method.

Set the x and y dimensions for the node.

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

Set the width and height for the node.

Set the width and height for the node.

Some relative dimension along the x axis.

Some relative dimension along the y axis.

Some relative dimension along the z axis.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 Rect<S>
[src]

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

Specify a color. Read more

Specify the color via red, green and blue channels.

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

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

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

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

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

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

Performs the conversion.

Auto Trait Implementations

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

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