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

pub struct Properties<S = Default> {
    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]

Return the Dimensions as scalar values.

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

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

This method tests for !=.

impl<S> SetDimensions<S> for Properties<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> Default for Properties<S>
[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