Enum ptex_sys::c_ptexture::MeshType
source · [−]#[repr(u32)]
pub enum MeshType {
Triangle,
Quad,
}
Variants
Triangle
Quad
Trait Implementations
sourceimpl From<MeshType> for Ptex__v2_4__MeshType_e
impl From<MeshType> for Ptex__v2_4__MeshType_e
sourcefn from(e: MeshType) -> Ptex__v2_4__MeshType_e
fn from(e: MeshType) -> Ptex__v2_4__MeshType_e
Converts to this type from the input type.
sourceimpl From<Ptex__v2_4__MeshType_e> for MeshType
impl From<Ptex__v2_4__MeshType_e> for MeshType
sourcefn from(e: Ptex__v2_4__MeshType_e) -> MeshType
fn from(e: Ptex__v2_4__MeshType_e) -> MeshType
Converts to this type from the input type.
impl Copy for MeshType
impl Eq for MeshType
impl StructuralEq for MeshType
impl StructuralPartialEq for MeshType
Auto Trait Implementations
impl RefUnwindSafe for MeshType
impl Send for MeshType
impl Sync for MeshType
impl Unpin for MeshType
impl UnwindSafe for MeshType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more