Struct vtflib_sys::tagSVTFImageFormatInfo [−][src]
#[repr(C, packed)]pub struct tagSVTFImageFormatInfo { pub lpName: *mut vlChar, pub uiBitsPerPixel: vlUInt, pub uiBytesPerPixel: vlUInt, pub uiRedBitsPerPixel: vlUInt, pub uiGreenBitsPerPixel: vlUInt, pub uiBlueBitsPerPixel: vlUInt, pub uiAlphaBitsPerPixel: vlUInt, pub bIsCompressed: vlBool, pub bIsSupported: vlBool, }
Fields
lpName: *mut vlCharExpand description
!< Enumeration text equivalent.
uiBitsPerPixel: vlUIntExpand description
!< Format bits per pixel.
uiBytesPerPixel: vlUIntExpand description
!< Format bytes per pixel.
uiRedBitsPerPixel: vlUIntExpand description
!< Format red bits per pixel. 0 for N/A.
uiGreenBitsPerPixel: vlUIntExpand description
!< Format green bits per pixel. 0 for N/A.
uiBlueBitsPerPixel: vlUIntExpand description
!< Format blue bits per pixel. 0 for N/A.
uiAlphaBitsPerPixel: vlUIntExpand description
!< Format alpha bits per pixel. 0 for N/A.
bIsCompressed: vlBoolExpand description
!< Format is compressed (DXT).
bIsSupported: vlBoolExpand description
!< Format is supported by VTFLib.
Trait Implementations
impl Clone for tagSVTFImageFormatInfo[src]
impl Clone for tagSVTFImageFormatInfo[src]fn clone(&self) -> tagSVTFImageFormatInfo[src]
fn clone(&self) -> tagSVTFImageFormatInfo[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for tagSVTFImageFormatInfo[src]
impl Debug for tagSVTFImageFormatInfo[src]impl Copy for tagSVTFImageFormatInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for tagSVTFImageFormatInfo
impl !Send for tagSVTFImageFormatInfo
impl !Sync for tagSVTFImageFormatInfo
impl Unpin for tagSVTFImageFormatInfo
impl UnwindSafe for tagSVTFImageFormatInfo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more