Struct vtflib_sys::tagSVTFImageFormatInfo
source · [−]#[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 vlChar
!< Enumeration text equivalent.
uiBitsPerPixel: vlUInt
!< Format bits per pixel.
uiBytesPerPixel: vlUInt
!< Format bytes per pixel.
uiRedBitsPerPixel: vlUInt
!< Format red bits per pixel. 0 for N/A.
uiGreenBitsPerPixel: vlUInt
!< Format green bits per pixel. 0 for N/A.
uiBlueBitsPerPixel: vlUInt
!< Format blue bits per pixel. 0 for N/A.
uiAlphaBitsPerPixel: vlUInt
!< Format alpha bits per pixel. 0 for N/A.
bIsCompressed: vlBool
!< Format is compressed (DXT).
bIsSupported: vlBool
!< Format is supported by VTFLib.
Trait Implementations
sourceimpl Clone for tagSVTFImageFormatInfo
impl Clone for tagSVTFImageFormatInfo
sourcefn clone(&self) -> tagSVTFImageFormatInfo
fn clone(&self) -> tagSVTFImageFormatInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for tagSVTFImageFormatInfo
impl Debug for tagSVTFImageFormatInfo
impl Copy for tagSVTFImageFormatInfo
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
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