pub struct ReadbackOptions {
pub swizzle: ChannelSwizzle,
pub y_flip: bool,
pub unpremultiply: bool,
}Expand description
Configuration for ReadbackSurface row repacking and channel conversions.
Fields§
§swizzle: ChannelSwizzle§y_flip: bool§unpremultiply: boolTrait Implementations§
Source§impl Clone for ReadbackOptions
impl Clone for ReadbackOptions
impl Copy for ReadbackOptions
Source§impl Debug for ReadbackOptions
impl Debug for ReadbackOptions
Source§impl Default for ReadbackOptions
impl Default for ReadbackOptions
impl Eq for ReadbackOptions
Source§impl PartialEq for ReadbackOptions
impl PartialEq for ReadbackOptions
impl StructuralPartialEq for ReadbackOptions
Auto Trait Implementations§
impl Forget for ReadbackOptions
impl Freeze for ReadbackOptions
impl Move for ReadbackOptions
impl RefUnwindSafe for ReadbackOptions
impl Send for ReadbackOptions
impl Sync for ReadbackOptions
impl Unpin for ReadbackOptions
impl UnsafeUnpin for ReadbackOptions
impl UnwindSafe for ReadbackOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.