pub enum PixelValueType {
C,
R,
B,
SI,
INT,
}
Expand description
Pixel Value type options
Variants§
C
ComplexFloat, 32 or 64 bits, real then imaginary
R
Float, 32 or 64 bits
B
Bi-level, single bit
SI
2’s complement signed integer, 8, 12, 16, 32, or 64 bits
INT
Integer, 8, 12, 16, 32, or 64 bits
Trait Implementations§
Source§impl Clone for PixelValueType
impl Clone for PixelValueType
Source§fn clone(&self) -> PixelValueType
fn clone(&self) -> PixelValueType
Returns a duplicate 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 PixelValueType
impl Debug for PixelValueType
Source§impl Default for PixelValueType
impl Default for PixelValueType
Source§fn default() -> PixelValueType
fn default() -> PixelValueType
Returns the “default value” for a type. Read more
Source§impl Display for PixelValueType
impl Display for PixelValueType
Source§impl FromStr for PixelValueType
impl FromStr for PixelValueType
Source§impl Ord for PixelValueType
impl Ord for PixelValueType
Source§fn cmp(&self, other: &PixelValueType) -> Ordering
fn cmp(&self, other: &PixelValueType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PixelValueType
impl PartialEq for PixelValueType
Source§impl PartialOrd for PixelValueType
impl PartialOrd for PixelValueType
impl Copy for PixelValueType
impl Eq for PixelValueType
impl StructuralPartialEq for PixelValueType
Auto Trait Implementations§
impl Freeze for PixelValueType
impl RefUnwindSafe for PixelValueType
impl Send for PixelValueType
impl Sync for PixelValueType
impl Unpin for PixelValueType
impl UnwindSafe for PixelValueType
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