Enum opencv::core::Texture2D_Format
source · #[repr(C)]pub enum Texture2D_Format {
NONE = 0,
DEPTH_COMPONENT = 6_402,
RGB = 6_407,
RGBA = 6_408,
}
Expand description
An Image Format describes the way that the images in Textures store their data.
Variants§
NONE = 0
DEPTH_COMPONENT = 6_402
Depth
RGB = 6_407
Red, Green, Blue
RGBA = 6_408
Red, Green, Blue, Alpha
Trait Implementations§
source§impl Clone for Texture2D_Format
impl Clone for Texture2D_Format
source§fn clone(&self) -> Texture2D_Format
fn clone(&self) -> Texture2D_Format
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Texture2D_Format
impl Debug for Texture2D_Format
source§impl PartialEq for Texture2D_Format
impl PartialEq for Texture2D_Format
source§fn eq(&self, other: &Texture2D_Format) -> bool
fn eq(&self, other: &Texture2D_Format) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Texture2D_Format
impl Eq for Texture2D_Format
impl StructuralEq for Texture2D_Format
impl StructuralPartialEq for Texture2D_Format
Auto Trait Implementations§
impl RefUnwindSafe for Texture2D_Format
impl Send for Texture2D_Format
impl Sync for Texture2D_Format
impl Unpin for Texture2D_Format
impl UnwindSafe for Texture2D_Format
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more