Struct ux::Vertex [−][src]
pub struct Vertex(_);
Implementations
impl Vertex
[src]
impl Vertex
[src]pub fn alloc() -> Vertex
[src]
Allocates a new, empty Vertex
.
Returns
the newly allocated Vertex
.
Use Vertex::free
to free its resources
pub fn new(x: f32, y: f32, z: f32) -> Vertex
[src]
Creates a new Vertex
for the point in 3D space
identified by the 3 coordinates x
, y
, z
.
This function is the logical equivalent of:
vertex_init (vertex_alloc (), x, y, z);
x
X coordinate
y
Y coordinate
z
Z coordinate
Returns
the newly allocated Vertex
.
Use Vertex::free
to free the resources
pub fn init(&mut self, x: f32, y: f32, z: f32) -> Option<Vertex>
[src]
Trait Implementations
impl PartialOrd<Vertex> for Vertex
[src]
impl PartialOrd<Vertex> for Vertex
[src]impl StaticType for Vertex
[src]
impl StaticType for Vertex
[src]pub fn static_type() -> Type
[src]
Auto Trait Implementations
impl RefUnwindSafe for Vertex
impl RefUnwindSafe for Vertex
impl UnwindSafe for Vertex
impl UnwindSafe for Vertex
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,