Struct nannou::draw::properties::spatial::dimension::Properties [] [src]

pub struct Properties<S = DefaultScalar> {
    pub x: Option<Dimension<S>>,
    pub y: Option<Dimension<S>>,
    pub z: Option<Dimension<S>>,
}

Dimension properties for Drawing a Node.

Fields

Dimension over the x axis.

Dimension over the y axis.

Dimension over the z axis.

Methods

impl<S> Properties<S> where
    S: BaseFloat
[src]

[src]

Return the Dimensions as scalar values.

Trait Implementations

impl<S: Copy> Copy for Properties<S>
[src]

impl<S: Clone> Clone for Properties<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 Properties<S>
[src]

[src]

Formats the value using the given formatter. Read more

impl<S: PartialEq> PartialEq for Properties<S>
[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<S> SetDimensions<S> for Properties<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> Default for Properties<S>
[src]

[src]

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

Auto Trait Implementations

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

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