[−][src]Enum nvtt_rs::InputFormat
Specify the color format of the input image.
Variants
4 unsigned byte channels comprised of blue
, green
, red
and alpha
.
4 16-bit float channels comprised of red
, green
, blue
and alpha
.
4 32-bit float channels comprised of red
, green
, blue
and alpha
.
A single 32 bit floating point channel.
Trait Implementations
impl Clone for InputFormat
[src]
fn clone(&self) -> InputFormat
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for InputFormat
[src]
impl Debug for InputFormat
[src]
impl Eq for InputFormat
[src]
impl<'_> From<&'_ InputFormat> for NvttInputFormat
[src]
fn from(val: &InputFormat) -> Self
[src]
impl From<InputFormat> for NvttInputFormat
[src]
fn from(val: InputFormat) -> Self
[src]
impl Hash for InputFormat
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<InputFormat> for InputFormat
[src]
fn eq(&self, other: &InputFormat) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<InputFormat> for NvttInputFormat
[src]
impl PartialEq<u32> for InputFormat
[src]
fn eq(&self, rhs: &NvttInputFormat) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for InputFormat
[src]
impl StructuralPartialEq for InputFormat
[src]
impl TryFrom<u32> for InputFormat
[src]
type Error = EnumConvertError<NvttInputFormat>
The type returned in the event of a conversion error.
fn try_from(raw: NvttInputFormat) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for InputFormat
impl Send for InputFormat
impl Sync for InputFormat
impl Unpin for InputFormat
impl UnwindSafe for InputFormat
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,