pub enum PlyPropertyKind {
Char,
UChar,
Short,
UShort,
Int,
UInt,
Float,
Double,
}Expand description
Supported PLY scalar property types.
Variants§
Char
Signed 8-bit integer.
UChar
Unsigned 8-bit integer.
Short
Signed 16-bit integer.
UShort
Unsigned 16-bit integer.
Int
Signed 32-bit integer.
UInt
Unsigned 32-bit integer.
Float
32-bit float.
Double
64-bit float.
Implementations§
Source§impl PlyPropertyKind
impl PlyPropertyKind
Sourcepub const fn size_bytes(self) -> usize
pub const fn size_bytes(self) -> usize
Returns the size of one scalar value in bytes.
Trait Implementations§
Source§impl Clone for PlyPropertyKind
impl Clone for PlyPropertyKind
Source§fn clone(&self) -> PlyPropertyKind
fn clone(&self) -> PlyPropertyKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlyPropertyKind
impl Debug for PlyPropertyKind
Source§impl PartialEq for PlyPropertyKind
impl PartialEq for PlyPropertyKind
impl Copy for PlyPropertyKind
impl Eq for PlyPropertyKind
impl StructuralPartialEq for PlyPropertyKind
Auto Trait Implementations§
impl Freeze for PlyPropertyKind
impl RefUnwindSafe for PlyPropertyKind
impl Send for PlyPropertyKind
impl Sync for PlyPropertyKind
impl Unpin for PlyPropertyKind
impl UnsafeUnpin for PlyPropertyKind
impl UnwindSafe for PlyPropertyKind
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