pub struct PlyBinaryMesh<'a> { /* private fields */ }Expand description
A borrowed binary PLY mesh with canonical float x/y/z vertices and triangle faces.
Implementations§
Source§impl<'a> PlyBinaryMesh<'a>
impl<'a> PlyBinaryMesh<'a>
Sourcepub const fn vertex_count(self) -> usize
pub const fn vertex_count(self) -> usize
Returns the number of vertices declared by the PLY file.
Sourcepub const fn face_count(self) -> usize
pub const fn face_count(self) -> usize
Returns the number of triangle faces declared by the PLY file.
Sourcepub const fn vertex_bytes(self) -> &'a [u8] ⓘ
pub const fn vertex_bytes(self) -> &'a [u8] ⓘ
Returns the borrowed binary vertex payload.
Sourcepub const fn face_bytes(self) -> &'a [u8] ⓘ
pub const fn face_bytes(self) -> &'a [u8] ⓘ
Returns the borrowed binary face payload.
Trait Implementations§
Source§impl<'a> Clone for PlyBinaryMesh<'a>
impl<'a> Clone for PlyBinaryMesh<'a>
Source§fn clone(&self) -> PlyBinaryMesh<'a>
fn clone(&self) -> PlyBinaryMesh<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for PlyBinaryMesh<'a>
Source§impl<'a> Debug for PlyBinaryMesh<'a>
impl<'a> Debug for PlyBinaryMesh<'a>
impl<'a> Eq for PlyBinaryMesh<'a>
Source§impl<'a> PartialEq for PlyBinaryMesh<'a>
impl<'a> PartialEq for PlyBinaryMesh<'a>
Source§fn eq(&self, other: &PlyBinaryMesh<'a>) -> bool
fn eq(&self, other: &PlyBinaryMesh<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for PlyBinaryMesh<'a>
Auto Trait Implementations§
impl<'a> Freeze for PlyBinaryMesh<'a>
impl<'a> RefUnwindSafe for PlyBinaryMesh<'a>
impl<'a> Send for PlyBinaryMesh<'a>
impl<'a> Sync for PlyBinaryMesh<'a>
impl<'a> Unpin for PlyBinaryMesh<'a>
impl<'a> UnsafeUnpin for PlyBinaryMesh<'a>
impl<'a> UnwindSafe for PlyBinaryMesh<'a>
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