pub struct PlyReader { /* private fields */ }Available on crate feature
ply-reader only.Expand description
PLY format reader.
Reads vertex positions from ASCII and little-endian binary PLY files.
Implementations§
Source§impl PlyReader
impl PlyReader
Sourcepub fn from_bytes(bytes: impl Into<Vec<u8>>) -> Self
pub fn from_bytes(bytes: impl Into<Vec<u8>>) -> Self
Create a PLY reader from in-memory bytes.
Sourcepub fn read_from_bytes(bytes: &[u8]) -> Result<Mesh>
pub fn read_from_bytes(bytes: &[u8]) -> Result<Mesh>
Read a mesh directly from in-memory bytes.
Trait Implementations§
Source§impl PointCloudReader for PlyReader
impl PointCloudReader for PlyReader
Source§impl ReadFromBytes for PlyReader
impl ReadFromBytes for PlyReader
Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Create a reader from a complete file payload.
Auto Trait Implementations§
impl Freeze for PlyReader
impl RefUnwindSafe for PlyReader
impl Send for PlyReader
impl Sync for PlyReader
impl Unpin for PlyReader
impl UnsafeUnpin for PlyReader
impl UnwindSafe for PlyReader
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