pub enum InputPixelFormat {
Bgr,
Bgra,
Yuy2,
Pa64,
Yc48,
Hf64,
}Available on crate feature
input only.Expand description
画像のフォーマット。
Variants§
Bgr
Bgra
Yuy2
YUV 4:2:2形式。
(u8, u8, u8, u8)相当。
Pa64
DXGI_FORMAT_R16G16B16A16_UNORM(乗算済みα)形式。
(u16, u16, u16, u16)相当。
Yc48
Hf64
DXGI_FORMAT_R16G16B16A16_FLOAT(乗算済みα)形式。
(f16, f16, f16, f16)相当。
Trait Implementations§
Source§impl Clone for InputPixelFormat
impl Clone for InputPixelFormat
Source§fn clone(&self) -> InputPixelFormat
fn clone(&self) -> InputPixelFormat
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 InputPixelFormat
impl Debug for InputPixelFormat
Source§impl Hash for InputPixelFormat
impl Hash for InputPixelFormat
Source§impl PartialEq for InputPixelFormat
impl PartialEq for InputPixelFormat
impl Copy for InputPixelFormat
impl Eq for InputPixelFormat
impl StructuralPartialEq for InputPixelFormat
Auto Trait Implementations§
impl Freeze for InputPixelFormat
impl RefUnwindSafe for InputPixelFormat
impl Send for InputPixelFormat
impl Sync for InputPixelFormat
impl Unpin for InputPixelFormat
impl UnwindSafe for InputPixelFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more