Enum ptex_sys::c_ptexture::DataType
source · [−]#[repr(u32)]
pub enum DataType {
Uint8,
Uint16,
Half,
Float,
}
Variants
Uint8
Uint16
Half
Float
Trait Implementations
sourceimpl From<DataType> for Ptex__v2_4__DataType_e
impl From<DataType> for Ptex__v2_4__DataType_e
sourcefn from(e: DataType) -> Ptex__v2_4__DataType_e
fn from(e: DataType) -> Ptex__v2_4__DataType_e
Converts to this type from the input type.
sourceimpl From<Ptex__v2_4__DataType_e> for DataType
impl From<Ptex__v2_4__DataType_e> for DataType
sourcefn from(e: Ptex__v2_4__DataType_e) -> DataType
fn from(e: Ptex__v2_4__DataType_e) -> DataType
Converts to this type from the input type.
impl Copy for DataType
impl Eq for DataType
impl StructuralEq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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