pub struct Vertex(/* private fields */);
Implementations§
Source§impl Vertex
impl Vertex
Sourcepub fn alloc() -> Vertex
pub fn alloc() -> Vertex
Allocates a new, empty Vertex
.
§Returns
the newly allocated Vertex
.
Use Vertex::free
to free its resources
Sourcepub fn new(x: f32, y: f32, z: f32) -> Vertex
pub fn new(x: f32, y: f32, z: f32) -> Vertex
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:
clutter_vertex_init (clutter_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
Trait Implementations§
Source§impl Ord for Vertex
impl Ord for Vertex
Source§impl PartialOrd for Vertex
impl PartialOrd for Vertex
Source§impl StaticType for Vertex
impl StaticType for Vertex
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for Vertex
Auto Trait Implementations§
impl Freeze for Vertex
impl RefUnwindSafe for Vertex
impl !Send for Vertex
impl !Sync for Vertex
impl Unpin for Vertex
impl UnwindSafe for Vertex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more