pub enum ImagePreference {
PngFirst,
DibFirst,
}Expand description
Which Windows bitmap format wins when the clipboard offers both PNG and CF_DIB.
Variants§
PngFirst
PNG (lossless, keeps alpha) when the copier provided it, else CF_DIB as BMP.
DibFirst
CF_DIB as BMP when present, else PNG. ViewRight’s behaviour: every copier offers CF_DIB.
Trait Implementations§
Source§impl Clone for ImagePreference
impl Clone for ImagePreference
impl Copy for ImagePreference
Source§impl Debug for ImagePreference
impl Debug for ImagePreference
Source§impl Default for ImagePreference
impl Default for ImagePreference
impl Eq for ImagePreference
Source§impl PartialEq for ImagePreference
impl PartialEq for ImagePreference
impl StructuralPartialEq for ImagePreference
Auto Trait Implementations§
impl Freeze for ImagePreference
impl RefUnwindSafe for ImagePreference
impl Send for ImagePreference
impl Sync for ImagePreference
impl Unpin for ImagePreference
impl UnsafeUnpin for ImagePreference
impl UnwindSafe for ImagePreference
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,
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.