Type Alias Vector3u
Source pub type Vector3u = Vector3<u32>;
Expand description
export Vector3 as Vector3u
struct Vector3u {
pub x: u32,
pub y: u32,
pub z: u32,
}
X coordinate of the vector.
Y coordinate of the vector.
Z coordinate of the vector.
Implementations
Create a new Vector3f with the given values.
Trait Implementations
The resulting type after applying the +
operator.
The resulting type after applying the +
operator.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
The resulting type after applying the /
operator.
The resulting type after applying the /
operator.
The resulting type after applying the *
operator.
The resulting type after applying the *
operator.
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
This method returns an ordering between
self
and
other
values if one exists.
Read more
Tests less than (for
self
and
other
) and is used by the
<
operator.
Read more
Tests less than or equal to (for
self
and
other
) and is used by the
<=
operator.
Read more
Tests greater than (for
self
and
other
) and is used by the
>
operator.
Read more
Tests greater than or equal to (for
self
and
other
) and is used by
the
>=
operator.
Read more
The resulting type after applying the -
operator.
The resulting type after applying the -
operator.