pub struct QOpenGLPixelTransferOptions { /* private fields */ }Expand description
C++ class: QOpenGLPixelTransferOptions.
Implementations§
Source§impl QOpenGLPixelTransferOptions
impl QOpenGLPixelTransferOptions
Sourcepub unsafe fn alignment(&self) -> c_int
pub unsafe fn alignment(&self) -> c_int
Calls C++ function: int QOpenGLPixelTransferOptions::alignment() const.
Sourcepub unsafe fn copy_from(
&self,
arg1: impl CastInto<Ref<QOpenGLPixelTransferOptions>>,
) -> Ref<QOpenGLPixelTransferOptions>
pub unsafe fn copy_from( &self, arg1: impl CastInto<Ref<QOpenGLPixelTransferOptions>>, ) -> Ref<QOpenGLPixelTransferOptions>
Calls C++ function: QOpenGLPixelTransferOptions& QOpenGLPixelTransferOptions::operator=(const QOpenGLPixelTransferOptions& arg1).
Sourcepub unsafe fn image_height(&self) -> c_int
pub unsafe fn image_height(&self) -> c_int
Calls C++ function: int QOpenGLPixelTransferOptions::imageHeight() const.
Sourcepub unsafe fn is_least_significant_bit_first(&self) -> bool
pub unsafe fn is_least_significant_bit_first(&self) -> bool
Calls C++ function: bool QOpenGLPixelTransferOptions::isLeastSignificantBitFirst() const.
Sourcepub unsafe fn is_swap_bytes_enabled(&self) -> bool
pub unsafe fn is_swap_bytes_enabled(&self) -> bool
Calls C++ function: bool QOpenGLPixelTransferOptions::isSwapBytesEnabled() const.
Sourcepub unsafe fn new() -> CppBox<QOpenGLPixelTransferOptions>
pub unsafe fn new() -> CppBox<QOpenGLPixelTransferOptions>
Calls C++ function: [constructor] void QOpenGLPixelTransferOptions::QOpenGLPixelTransferOptions().
Sourcepub unsafe fn new_copy(
arg1: impl CastInto<Ref<QOpenGLPixelTransferOptions>>,
) -> CppBox<QOpenGLPixelTransferOptions>
pub unsafe fn new_copy( arg1: impl CastInto<Ref<QOpenGLPixelTransferOptions>>, ) -> CppBox<QOpenGLPixelTransferOptions>
Calls C++ function: [constructor] void QOpenGLPixelTransferOptions::QOpenGLPixelTransferOptions(const QOpenGLPixelTransferOptions& arg1).
Sourcepub unsafe fn row_length(&self) -> c_int
pub unsafe fn row_length(&self) -> c_int
Calls C++ function: int QOpenGLPixelTransferOptions::rowLength() const.
Sourcepub unsafe fn set_alignment(&self, alignment: c_int)
pub unsafe fn set_alignment(&self, alignment: c_int)
Calls C++ function: void QOpenGLPixelTransferOptions::setAlignment(int alignment).
Sourcepub unsafe fn set_image_height(&self, image_height: c_int)
pub unsafe fn set_image_height(&self, image_height: c_int)
Calls C++ function: void QOpenGLPixelTransferOptions::setImageHeight(int imageHeight).
Sourcepub unsafe fn set_least_significant_byte_first(&self, lsb_first: bool)
pub unsafe fn set_least_significant_byte_first(&self, lsb_first: bool)
Calls C++ function: void QOpenGLPixelTransferOptions::setLeastSignificantByteFirst(bool lsbFirst).
Sourcepub unsafe fn set_row_length(&self, row_length: c_int)
pub unsafe fn set_row_length(&self, row_length: c_int)
Calls C++ function: void QOpenGLPixelTransferOptions::setRowLength(int rowLength).
Sourcepub unsafe fn set_skip_images(&self, skip_images: c_int)
pub unsafe fn set_skip_images(&self, skip_images: c_int)
Calls C++ function: void QOpenGLPixelTransferOptions::setSkipImages(int skipImages).
Sourcepub unsafe fn set_skip_pixels(&self, skip_pixels: c_int)
pub unsafe fn set_skip_pixels(&self, skip_pixels: c_int)
Calls C++ function: void QOpenGLPixelTransferOptions::setSkipPixels(int skipPixels).
Sourcepub unsafe fn set_skip_rows(&self, skip_rows: c_int)
pub unsafe fn set_skip_rows(&self, skip_rows: c_int)
Calls C++ function: void QOpenGLPixelTransferOptions::setSkipRows(int skipRows).
Sourcepub unsafe fn set_swap_bytes_enabled(&self, swap_bytes: bool)
pub unsafe fn set_swap_bytes_enabled(&self, swap_bytes: bool)
Calls C++ function: void QOpenGLPixelTransferOptions::setSwapBytesEnabled(bool swapBytes).
Sourcepub unsafe fn skip_images(&self) -> c_int
pub unsafe fn skip_images(&self) -> c_int
Calls C++ function: int QOpenGLPixelTransferOptions::skipImages() const.
Sourcepub unsafe fn skip_pixels(&self) -> c_int
pub unsafe fn skip_pixels(&self) -> c_int
Calls C++ function: int QOpenGLPixelTransferOptions::skipPixels() const.
Sourcepub unsafe fn skip_rows(&self) -> c_int
pub unsafe fn skip_rows(&self) -> c_int
Calls C++ function: int QOpenGLPixelTransferOptions::skipRows() const.
Sourcepub unsafe fn swap(
&self,
other: impl CastInto<Ref<QOpenGLPixelTransferOptions>>,
)
pub unsafe fn swap( &self, other: impl CastInto<Ref<QOpenGLPixelTransferOptions>>, )
Calls C++ function: void QOpenGLPixelTransferOptions::swap(QOpenGLPixelTransferOptions& other).